diff options
Diffstat (limited to 'sys/arch/sh/include/cpu.h')
-rw-r--r-- | sys/arch/sh/include/cpu.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sh/include/cpu.h b/sys/arch/sh/include/cpu.h index b29d7247ce0..8b43e78767b 100644 --- a/sys/arch/sh/include/cpu.h +++ b/sys/arch/sh/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.10 2007/06/06 17:15:12 deraadt Exp $ */ +/* $OpenBSD: cpu.h,v 1.11 2007/10/10 15:53:52 art Exp $ */ /* $NetBSD: cpu.h,v 1.41 2006/01/21 04:24:12 uwe Exp $ */ /*- @@ -125,6 +125,11 @@ extern int want_resched; /* need_resched() was called */ * We need a machine-independent name for this. */ #define DELAY(x) delay(x) + +#define cpu_idle_enter() do { /* nothing */ } while (0) +#define cpu_idle_cycle() __asm volatile("sleep") +#define cpu_idle_leave() do { /* nothing */ } while (0) + #endif /* _KERNEL */ /* |