From: Josh Boyer Date: Thu, 3 Nov 2011 18:00:11 +0000 (-0200) Subject: edac: Only build sb_edac on 64-bit X-Git-Tag: Ubuntu-5.0.0-8.9~17440 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f04c045f8ce69c22bda9d99eb927276b776135fc;p=mirror_ubuntu-disco-kernel.git edac: Only build sb_edac on 64-bit 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 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Linus Torvalds --- diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 203361e4ef94..5948a2194f50 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig @@ -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