diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-12-20 22:48:30 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-12-20 22:48:30 +0000 |
commit | 642587430f1b76aad136bb9679ead945e92ed3d5 (patch) | |
tree | bad5cbd6d34aee259ce974416cd37d94bcf1f2de /sys/dev/acpi/acpicpu.c | |
parent | bd6f2dfaeb041b8b08884a3a4787bba4033d046e (diff) |
Decalre extern int cpuspeed in sys/arch/amd64/include/cpu.h like cpuspeed
is declared in the equivalent file on i386 and delete the repeticious
declarations already scattered in a few places.
Thanks to Will Backman for letting me test this on his machine,
ok mk@
Diffstat (limited to 'sys/dev/acpi/acpicpu.c')
-rw-r--r-- | sys/dev/acpi/acpicpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpicpu.c b/sys/dev/acpi/acpicpu.c index 3398c148c6d..94bd165fcc4 100644 --- a/sys/dev/acpi/acpicpu.c +++ b/sys/dev/acpi/acpicpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpicpu.c,v 1.14 2006/12/20 17:50:40 gwk Exp $ */ +/* $OpenBSD: acpicpu.c,v 1.15 2006/12/20 22:48:29 gwk Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -72,7 +72,6 @@ extern int setperf_prio; #ifdef __i386__ struct acpicpu_softc *acpicpu_sc[I386_MAXPROCS]; #elif __amd64__ -extern int cpuspeed; struct acpicpu_softc *acpicpu_sc[X86_MAXPROCS]; #endif |