lkml.org 
[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sb_edac 32-bit compile fail due to 64-bit divide
Em 03-11-2011 15:48, Josh Boyer escreveu:

> How's the below?

Ack.

I'll add it on my tree and submit it to Linus for its addition.
>
> josh
>
> ---
>
> From: Josh Boyer <jwboyer@redhat.com>
> Subject: [PATCH] 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 <jwboyer@redhat.com>
>
> ---
>
> diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
> index 203361e..5948a21 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-edac" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html



\
 
 \ /
  Last update: 2011-11-03 18:55    [W:0.036 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site