diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2010-12-30 14:10:15 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2010-12-30 14:10:15 +0000 |
commit | a69b6d4653986b30ecf5ff94270e479e276aa7fa (patch) | |
tree | 96c25bea981bc58e04bfdd6b04a887b9a6d51ba5 /sys/arch/hppa/include | |
parent | 6ad2a0b8c9cdd20f0f52baef150b521939c59572 (diff) |
Implement cpu_unidle() for MP kernels.
ok kettenis@
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/cpu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index 6e362534089..39a58850084 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.76 2010/09/28 20:27:54 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.77 2010/12/30 14:10:14 jsing Exp $ */ /* * Copyright (c) 2000-2004 Michael Shalayeff @@ -135,8 +135,6 @@ curcpu(void) #define CPU_INFO_FOREACH(cii, ci) \ for (cii = 0, ci = &cpu_info[0]; cii < ncpus; cii++, ci++) -#define cpu_unidle(ci) - /* types */ enum hppa_cpu_type { hpcxs, hpcxt, hpcxta, hpcxl, hpcxl2, hpcxu, hpcxu2, hpcxw @@ -240,6 +238,9 @@ int cpu_dump(void); void cpu_boot_secondary_processors(void); void cpu_hw_init(void); void cpu_hatch(void); +void cpu_unidle(struct cpu_info *); +#else +#define cpu_unidle(ci) #endif #endif |