* [PATCH] EDAC, AMD: Fix build error by including <linux/smp.h>
@ 2009-09-18 14:04 Theodore Ts'o
2009-09-18 14:51 ` Borislav Petkov
0 siblings, 1 reply; 2+ messages in thread
From: Theodore Ts'o @ 2009-09-18 14:04 UTC (permalink / raw)
To: Linux Kernel Developers List; +Cc: Theodore Ts'o, Borislav Petkov
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] EDAC, AMD: Fix build error by including <linux/smp.h>
2009-09-18 14:04 [PATCH] EDAC, AMD: Fix build error by including <linux/smp.h> Theodore Ts'o
@ 2009-09-18 14:51 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2009-09-18 14:51 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Linux Kernel Developers List
Hi Theodore,
On Fri, Sep 18, 2009 at 10:04:59AM -0400, Theodore Ts'o wrote:
> 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
This was properly fixed in the next snapshot, 2.6.31-git7.
Thanks.
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-18 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 14:04 [PATCH] EDAC, AMD: Fix build error by including <linux/smp.h> Theodore Ts'o
2009-09-18 14:51 ` Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox