diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-05-20 17:34:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-05-20 17:34:09 +0000 |
commit | 81bb7bb90d5fb854591d5fbbfcda442af2142e08 (patch) | |
tree | 3cff5eead780c610f499ad2fee7fdd145c82e336 /sys/arch | |
parent | e771624094ddc47311f9b804f299429a6ba78f84 (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')
-rw-r--r-- | sys/arch/amd64/amd64/amd64errata.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/i386/amd64errata.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/amd64errata.c b/sys/arch/amd64/amd64/amd64errata.c index f8463e80b18..b8cf3799580 100644 --- a/sys/arch/amd64/amd64/amd64errata.c +++ b/sys/arch/amd64/amd64/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; 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; |