lkml.org 
[lkml]   [2009]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] EDAC, AMD: Fix build error by including <linux/smp.h>
Date
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


\
 
 \ /
  Last update: 2009-09-18 16:07    [W:0.213 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site