diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-10-17 15:35:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-10-17 15:35:32 +0000 |
commit | 8aac0cfdc23248b01699311ec5ce5b68df26c579 (patch) | |
tree | e7d842781e43435d46f78aba2c838955cf35dbb9 | |
parent | d115eff6293c28757a3bb0a9b84ce3c234708e8a (diff) |
revert previous. It isn't just i386 which cares about the setperf
hiding, it is a lot of other systems too.
-rw-r--r-- | sys/arch/i386/i386/apm.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c index 0645fd1a688..fe915c35379 100644 --- a/sys/arch/i386/i386/apm.c +++ b/sys/arch/i386/i386/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.109 2014/10/17 03:56:00 deraadt Exp $ */ +/* $OpenBSD: apm.c,v 1.110 2014/10/17 15:35:31 deraadt Exp $ */ /*- * Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved. @@ -241,9 +241,7 @@ apm_perror(const char *str, struct apmregs *regs) void apm_suspend(int state) { -#ifndef SMALL_KERNEL extern int perflevel; -#endif int s; #if NWSDISPLAY > 0 @@ -278,11 +276,9 @@ apm_suspend(int state) enable_intr(); splx(s); -#ifndef SMALL_KERNEL /* restore hw.setperf */ if (cpu_setperf != NULL) cpu_setperf(perflevel); -#endif bufq_restart(); config_suspend_all(DVACT_WAKEUP); |