diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2008-11-22 14:42:30 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2008-11-22 14:42:30 +0000 |
commit | 74c8fafc99a7d1c884138462d4f8df03656fbb87 (patch) | |
tree | 1480c6538bd1a0943da27edd8c6c731cc8c5cdcb /sys/arch/powerpc | |
parent | 2056bd4b305a27b57a0072c3f4d95d752d5e7822 (diff) |
cpu_unidle for macppc
ok drahn@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/cpu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h index 5bb8462ef08..1116f5db74e 100644 --- a/sys/arch/powerpc/include/cpu.h +++ b/sys/arch/powerpc/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.41 2008/10/15 23:23:49 deraadt Exp $ */ +/* $OpenBSD: cpu.h,v 1.42 2008/11/22 14:42:29 art Exp $ */ /* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */ /* @@ -117,6 +117,8 @@ void cpu_boot_secondary_processors(void); #define CPU_INFO_FOREACH(cii, ci) \ for (cii = 0, ci = &cpu_info[0]; cii < PPC_MAXPROCS; cii++, ci++) +void cpu_unidle(struct cpu_info *); + #else #define PPC_MAXPROCS 1 @@ -128,6 +130,8 @@ void cpu_boot_secondary_processors(void); #define CPU_INFO_FOREACH(cii, ci) \ for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) +#define cpu_unidle(ci) + #endif #define MAXCPUS PPC_MAXPROCS |