[PATCH] EDAC, AMD: Fix build error by including <linux/smp.h>

From: Theodore Ts'o
Date: Fri Sep 18 2009 - 10:05:14 EST


Accessing the per-cpu variable cpu_llc_id now requires that
<linux/smp.h> header file be included.

Cc: Borislav Petkov <borislav.petkov@xxxxxxx>
Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/