diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-01-14 00:05:21 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-22 20:26:41 -0500 |
commit | 10992092a8a6e445199f30e56789322851479019 (patch) | |
tree | 22bee56057fd82642b641e0c2ae72bb7d0f2508d /arch/parisc/kernel/process.c | |
parent | 370361f884c032216ece841ac5328393b136f0bb (diff) |
[PARISC] Use F_EXTEND() for COMMAND_GLOBAL
Instead of wrapping the define of COMMAND_GLOBAL in #ifdef __LP64__
use the F_EXTEND() macro defined in asm/io.h, which is the preferred
way of extending mmio space addresses for either 32 or 64 bit machines.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/process.c')
-rw-r--r-- | arch/parisc/kernel/process.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 5da41677e70b..f46259e2fab5 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c | |||
@@ -102,12 +102,7 @@ void cpu_idle(void) | |||
102 | } | 102 | } |
103 | 103 | ||
104 | 104 | ||
105 | #ifdef __LP64__ | 105 | #define COMMAND_GLOBAL F_EXTEND(0xfffe0030) |
106 | #define COMMAND_GLOBAL 0xfffffffffffe0030UL | ||
107 | #else | ||
108 | #define COMMAND_GLOBAL 0xfffe0030 | ||
109 | #endif | ||
110 | |||
111 | #define CMD_RESET 5 /* reset any module */ | 106 | #define CMD_RESET 5 /* reset any module */ |
112 | 107 | ||
113 | /* | 108 | /* |