[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-a5b91606bdc9d0a0d036d2d829a22921c705573e@git.kernel.org>
Date: Wed, 28 Jul 2010 23:28:56 GMT
From: "tip-bot for H. Peter Anvin" <hpa@...ux.intel.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hans.rosenfeld@....com,
hpa@...or.com, mingo@...hat.com, tglx@...utronix.de,
hpa@...ux.intel.com
Subject: [tip:x86/cpu] x86, cpu: Export AMD errata definitions
Commit-ID: a5b91606bdc9d0a0d036d2d829a22921c705573e
Gitweb: http://git.kernel.org/tip/a5b91606bdc9d0a0d036d2d829a22921c705573e
Author: H. Peter Anvin <hpa@...ux.intel.com>
AuthorDate: Wed, 28 Jul 2010 16:23:20 -0700
Committer: H. Peter Anvin <hpa@...ux.intel.com>
CommitDate: Wed, 28 Jul 2010 16:23:20 -0700
x86, cpu: Export AMD errata definitions
Exprot the AMD errata definitions, since they are needed by kvm_amd.ko
if that is built as a module. Doing "make allmodconfig" during
testing would have caught this.
Signed-off-by: H. Peter Anvin <hpa@...ux.intel.com>
Cc: Hans Rosenfeld <hans.rosenfeld@....com>
LKML-Reference: <1280336972-865982-1-git-send-email-hans.rosenfeld@....com>
---
arch/x86/kernel/cpu/amd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 30f30dc..60a57b1 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -631,9 +631,11 @@ cpu_dev_register(amd_cpu_dev);
const int amd_erratum_400[] =
AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf),
AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf));
+EXPORT_SYMBOL_GPL(amd_erratum_400);
const int amd_erratum_383[] =
AMD_OSVW_ERRATUM(3, AMD_MODEL_RANGE(0x10, 0, 0, 0xff, 0xf));
+EXPORT_SYMBOL_GPL(amd_erratum_383);
bool cpu_has_amd_erratum(const int *erratum)
{
@@ -676,3 +678,5 @@ bool cpu_has_amd_erratum(const int *erratum)
return false;
}
+
+EXPORT_SYMBOL_GPL(cpu_has_amd_erratum);
--
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