public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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

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