diff options
author | Richard Henderson <rth@twiddle.net> | 2013-07-12 20:36:21 +0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-11-17 04:33:15 +0400 |
commit | 7f3bbb82e0c371d6881129f776c90130ba66f051 (patch) | |
tree | e2bb143c17545c720484602fbaa829eae2e66119 /arch/alpha/include | |
parent | fddd87d6e135924b92499917bace103e46c22d00 (diff) | |
download | linux-7f3bbb82e0c371d6881129f776c90130ba66f051.tar.xz |
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')
-rw-r--r-- | arch/alpha/include/asm/pal.h | 1 | ||||
-rw-r--r-- | arch/alpha/include/uapi/asm/pal.h | 1 |
2 files changed, 2 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.. diff --git a/arch/alpha/include/uapi/asm/pal.h b/arch/alpha/include/uapi/asm/pal.h index 3c0ce08e5f59..dfc8140b9088 100644 --- a/arch/alpha/include/uapi/asm/pal.h +++ b/arch/alpha/include/uapi/asm/pal.h @@ -46,6 +46,7 @@ #define PAL_rdusp 58 #define PAL_whami 60 #define PAL_retsys 61 +#define PAL_wtint 62 #define PAL_rti 63 |