Messages in this thread Patch in this message | | | From | Theodore Ts'o <> | Subject | [PATCH] EDAC, AMD: Fix build error by including <linux/smp.h> | Date | Fri, 18 Sep 2009 10:04:59 -0400 |
| |
Accessing the per-cpu variable cpu_llc_id now requires that <linux/smp.h> header file be included.
Cc: Borislav Petkov <borislav.petkov@amd.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> ---
This fixes a compile error found in 2.6.31-git6
drivers/edac/edac_mce_amd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c index c8ca713..6ae3b66 100644 --- a/drivers/edac/edac_mce_amd.c +++ b/drivers/edac/edac_mce_amd.c @@ -1,4 +1,5 @@ #include <linux/module.h> +#include <linux/smp.h> #include "edac_mce_amd.h" static bool report_gart_errors; -- 1.6.3.2.1.gb9f7d.dirty
| |