summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-05-20 17:34:09 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-05-20 17:34:09 +0000
commit81bb7bb90d5fb854591d5fbbfcda442af2142e08 (patch)
tree3cff5eead780c610f499ad2fee7fdd145c82e336 /sys/arch/i386
parente771624094ddc47311f9b804f299429a6ba78f84 (diff)
de-static-ize, such that people don't get confused by aesni failures on
AMD hardware the next time somebody tries to run on a broken KVM hypervisor.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/amd64errata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/amd64errata.c b/sys/arch/i386/i386/amd64errata.c
index 0f31a9d24d3..5128f059334 100644
--- a/sys/arch/i386/i386/amd64errata.c
+++ b/sys/arch/i386/i386/amd64errata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd64errata.c,v 1.3 2012/03/27 05:59:46 jsg Exp $ */
+/* $OpenBSD: amd64errata.c,v 1.4 2013/05/20 17:34:08 kettenis Exp $ */
/* $NetBSD: errata.c,v 1.6 2007/02/05 21:05:45 ad Exp $ */
/*-
@@ -243,7 +243,7 @@ static errata_t errata[] = {
},
};
-static int
+int
amd64_errata_testmsr(struct cpu_info *ci, errata_t *e)
{
uint64_t val;
@@ -258,7 +258,7 @@ amd64_errata_testmsr(struct cpu_info *ci, errata_t *e)
return 1; /* found */
}
-static int
+int
amd64_errata_setmsr(struct cpu_info *ci, errata_t *e)
{
uint64_t val;