[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1253282699-14611-1-git-send-email-tytso@mit.edu>
Date: Fri, 18 Sep 2009 10:04:59 -0400
From: Theodore Ts'o <tytso@....edu>
To: Linux Kernel Developers List <linux-kernel@...r.kernel.org>
Cc: Theodore Ts'o <tytso@....edu>,
Borislav Petkov <borislav.petkov@....com>
Subject: [PATCH] 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 <borislav.petkov@....com>
Signed-off-by: "Theodore Ts'o" <tytso@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists