EDAC, AMD: Fix build error by including <linux/smp.h>
PATCH 1/1 EDAC, AMD: Fix build error by including <linux/smp.h>
Accessing the per-cpu variable cpu_llc_id now requires that <linux/smp.h> header file be included.
Cc Borislav Petkov <[email protected]>
Signed-off-by "Theodore Ts'o" <[email protected]>
---
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(-)
drivers/edac/edac_mce_amd.c +1 -0
@@ -1,4 +1,5 @@#include <linux/module.h> +#include <linux/smp.h> #include "edac_mce_amd.h" static bool report_gart_errors;
Signature · 1 line
1.6.3.2.1.gb9f7d.dirty
Hi Theodore,
Quoted 8 lines · Theodore Ts'o
Accessing the per-cpu variable
cpu_llc_idnow requires that <linux/smp.h> header file be included.Cc Borislav Petkov <[email protected]>Signed-off-by "Theodore Ts'o" <[email protected]>---
This fixes a compile error found in 2.6.31-git6
This was properly fixed in the next snapshot, 2.6.31-git7.
Thanks.
Signature · 8 lines
Regards/Gruss, Boris. Operating | Advanced Micro Devices GmbH System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München (OSRC) | Registergericht München, HRB Nr. 43632