summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-01-01 05:35:57 +0000
committernetchild <netchild@FreeBSD.org>2006-01-01 05:35:57 +0000
commitad47558c9627cf3cabb5200a6a341c8a9698d8d3 (patch)
tree123bebcb4f40fd3b4b60f40c2b1a49f97d863625
parente9ab99b7204d428468215ebe4f6aa562b7e28457 (diff)
downloadFreeBSD-src-ad47558c9627cf3cabb5200a6a341c8a9698d8d3.zip
FreeBSD-src-ad47558c9627cf3cabb5200a6a341c8a9698d8d3.tar.gz
Unbreak kernel build.
A happy new year to all. Submitted by: Goran Gajic <ggajic@afrodita.rcub.bg.ac.yu>, bz Pointy hat to: netchild Appologies to: all
-rw-r--r--sys/amd64/amd64/identcpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 53467bd..7d79dd8 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -70,7 +70,7 @@ void panicifcpuunsupported(void);
static void print_AMD_info(void);
static void print_AMD_assoc(int i);
void setPQL2(int *const size, int *const ways);
-static void setPQL2_AMD(void);
+static void setPQL2_AMD(int *const size, int *const ways);
int cpu_class;
char machine[] = "amd64";
@@ -533,7 +533,7 @@ print_AMD_info(void)
}
static void
-setPQL2_AMD(void)
+setPQL2_AMD(int *const size, int *const ways)
{
if (cpu_exthigh >= 0x80000006) {
u_int regs[4];
@@ -553,7 +553,7 @@ setPQL2_AMD(void)
}
void
-setPQL2(int *const size, int *const ways);
+setPQL2(int *const size, int *const ways)
{
if (strcmp(cpu_vendor, "AuthenticAMD") == 0)
setPQL2_AMD(size, ways);
OpenPOWER on IntegriCloud