summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/cpu.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@cvs.openbsd.org>2006-12-12 23:14:29 +0000
committerDimitry Andric <dim@cvs.openbsd.org>2006-12-12 23:14:29 +0000
commit1c2fd965cf1531278e01bc91beaa67624286988c (patch)
treed401479d5ccf18380f5057cd0a4b6e8135bdb23b /sys/arch/i386/include/cpu.h
parentcd866cbd96c21d51b3fa4c3d76d66a7e899f7b80 (diff)
Complete gwk's previous patch to stop setperf methods from returning
errors to userland: make all cpu_setperf functions return void. Tested by many, ok gwk@
Diffstat (limited to 'sys/arch/i386/include/cpu.h')
-rw-r--r--sys/arch/i386/include/cpu.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index a437cd29c6b..d6b43259c55 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.83 2006/11/29 20:03:20 dim Exp $ */
+/* $OpenBSD: cpu.h,v 1.84 2006/12/12 23:14:27 dim Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -358,33 +358,33 @@ void i8254_initclocks(void);
/* est.c */
#if !defined(SMALL_KERNEL) && defined(I686_CPU)
void est_init(const char *, int);
-int est_setperf(int);
+void est_setperf(int);
#endif
/* longrun.c */
#if !defined(SMALL_KERNEL) && defined(I586_CPU)
void longrun_init(void);
-int longrun_setperf(int);
+void longrun_setperf(int);
#endif
/* p4tcc.c */
#if !defined(SMALL_KERNEL) && defined(I686_CPU)
void p4tcc_init(int, int);
-int p4tcc_setperf(int);
+void p4tcc_setperf(int);
#endif
#if !defined(SMALL_KERNEL) && defined(I586_CPU)
/* powernow.c */
void k6_powernow_init(void);
-int k6_powernow_setperf(int);
+void k6_powernow_setperf(int);
#endif
#if !defined(SMALL_KERNEL) && defined(I686_CPU)
/* powernow-k7.c */
void k7_powernow_init(void);
-int k7_powernow_setperf(int);
+void k7_powernow_setperf(int);
/* powernow-k8.c */
void k8_powernow_init(void);
-int k8_powernow_setperf(int);
+void k8_powernow_setperf(int);
#endif
/* npx.c */