edac: Only build sb_edac on 64-bit
authorJosh Boyer <jwboyer@redhat.com>
Thu, 3 Nov 2011 18:00:11 +0000 (16:00 -0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Nov 2011 18:22:44 +0000 (11:22 -0700)
The sb_edac driver is marginally useful on a 32-bit kernel, and
currently has 64-bit divide compile errors when building that config.
For now, make this build on only for 64-bit kernels.

Signed-off-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/Kconfig

index 203361e4ef94a7c1bee6753211001fb403015648..5948a2194f503e80e19f2ab55e8a22cc096c9e75 100644 (file)
@@ -214,7 +214,7 @@ config EDAC_I7300
 
 config EDAC_SBRIDGE
        tristate "Intel Sandy-Bridge Integrated MC"
-       depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
+       depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
        depends on EXPERIMENTAL
        help
          Support for error detection and correction the Intel