summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/powernow-k8.c3
-rw-r--r--sys/arch/amd64/include/cpu.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/powernow-k8.c b/sys/arch/amd64/amd64/powernow-k8.c
index 04d8cf8c123..5a09a52c554 100644
--- a/sys/arch/amd64/amd64/powernow-k8.c
+++ b/sys/arch/amd64/amd64/powernow-k8.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow-k8.c,v 1.14 2006/12/12 23:14:27 dim Exp $ */
+/* $OpenBSD: powernow-k8.c,v 1.15 2006/12/20 22:48:29 gwk Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
* Copyright (c) 2004-2005 Bruno Ducrot
@@ -42,7 +42,6 @@
#define BIOS_START 0xe0000
#define BIOS_LEN 0x20000
-extern int cpuspeed;
extern int setperf_prio;
/*
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index 5b23973b361..af11a651b00 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.21 2006/12/12 23:14:27 dim Exp $ */
+/* $OpenBSD: cpu.h,v 1.22 2006/12/20 22:48:29 gwk Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -253,9 +253,9 @@ extern int cpu_ecxfeature;
extern int cpu_id;
extern char cpu_vendor[];
extern int cpuid_level;
+extern int cpuspeed;
/* identcpu.c */
-
void identifycpu(struct cpu_info *);
int cpu_amd64speed(int *);
void cpu_probe_features(struct cpu_info *);