mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Linux Kernel Developers List <linux-kernel@vger.kernel.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>,
	Borislav Petkov <borislav.petkov@amd.com>
Subject: [PATCH] EDAC, AMD: Fix build error by including <linux/smp.h>
Date: Fri, 18 Sep 2009 10:04:59 -0400	[thread overview]
Message-ID: <1253282699-14611-1-git-send-email-tytso@mit.edu> (raw)

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


             reply	other threads:[~2009-09-18 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 14:04 Theodore Ts'o [this message]
2009-09-18 14:51 ` Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1253282699-14611-1-git-send-email-tytso@mit.edu \
    --to=tytso@mit.edu \
    --cc=borislav.petkov@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®