summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/cpu.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-02-14 15:09:23 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-02-14 15:09:23 +0000
commitada8886100a78040c259db734cf7818b49c81fdc (patch)
treefd6c08ced5d0defd52f55f0689aca67fb6fc5c8a /sys/arch/powerpc/include/cpu.h
parent64cb8174cb06ff3dc1a2b319a1dbc1fa94832a87 (diff)
Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuff
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@
Diffstat (limited to 'sys/arch/powerpc/include/cpu.h')
-rw-r--r--sys/arch/powerpc/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h
index 8764a885601..f80c925b2a6 100644
--- a/sys/arch/powerpc/include/cpu.h
+++ b/sys/arch/powerpc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.17 2003/12/24 00:25:42 drahn Exp $ */
+/* $OpenBSD: cpu.h,v 1.18 2004/02/14 15:09:22 grange Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -220,6 +220,6 @@ ppc_intr_disable(void)
return (emsr & PSL_EE);
}
-int ppc_cpuspeed(void *oldp, size_t *oldlenp, void *newp, size_t newlen);
+int ppc_cpuspeed(int *);
#endif /* _POWERPC_CPU_H_ */