aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-12 09:36:21 -0700
committerMatt Turner <mattst88@gmail.com>2013-11-16 16:33:15 -0800
commit7f3bbb82e0c371d6881129f776c90130ba66f051 (patch)
treee2bb143c17545c720484602fbaa829eae2e66119 /arch/alpha/include/asm
parentalpha: Allow HZ to be configured (diff)
downloadlinux-dev-7f3bbb82e0c371d6881129f776c90130ba66f051.tar.xz
linux-dev-7f3bbb82e0c371d6881129f776c90130ba66f051.zip
alpha: Primitive support for CPU power down.
Use WTINT to wait for the next interrupt. Squash the WTINT call if the PALcode doesn't support it (e.g. MILO). No attempt is yet made to skip clock ticks during normal scheduling in order to stay in power down mode longer. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch/alpha/include/asm')
-rw-r--r--arch/alpha/include/asm/pal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/pal.h b/arch/alpha/include/asm/pal.h
index 6fcd2b5b08f0..e78ec9bcc768 100644
--- a/arch/alpha/include/asm/pal.h
+++ b/arch/alpha/include/asm/pal.h
@@ -89,6 +89,7 @@ __CALL_PAL_W1(wrmces, unsigned long);
__CALL_PAL_RW2(wrperfmon, unsigned long, unsigned long, unsigned long);
__CALL_PAL_W1(wrusp, unsigned long);
__CALL_PAL_W1(wrvptptr, unsigned long);
+__CALL_PAL_RW1(wtint, unsigned long, unsigned long);
/*
* TB routines..