diff options
author | marcel <marcel@FreeBSD.org> | 2003-10-17 02:24:59 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-10-17 02:24:59 +0000 |
commit | 1d3178bbc08aaa1cb4a6a71b9ecabe71964ff518 (patch) | |
tree | 27149c8af7b524f423d79916dffdc9f8d34d962b /sys/kern | |
parent | 7a27809dea21ae1f404cb0c9f01283d97a8708d0 (diff) | |
download | FreeBSD-src-1d3178bbc08aaa1cb4a6a71b9ecabe71964ff518.zip FreeBSD-src-1d3178bbc08aaa1cb4a6a71b9ecabe71964ff518.tar.gz |
Implement cpu_idle() on ia64. We put the processor in a lightweight
halt state that minimizes power consumption while still preserving
cache and TLB coherency. Halting the processor is not conditional at
this time. Tested with UP and SMP kernels.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_idle.c b/sys/kern/kern_idle.c index b4d43af..1021965 100644 --- a/sys/kern/kern_idle.c +++ b/sys/kern/kern_idle.c @@ -112,7 +112,7 @@ idle_proc(void *dummy) " for a process"); #endif -#ifdef __i386__ +#if defined(__i386__) || defined(__ia64__) cpu_idle(); #endif } |