From: Kyle McMartin Date: Sat, 14 Jan 2006 05:05:21 +0000 (-0700) Subject: [PARISC] Use F_EXTEND() for COMMAND_GLOBAL X-Git-Tag: v2.6.16-rc3~205^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=10992092a8a6e445199f30e56789322851479019;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 5da41677e70..f46259e2fab 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -102,12 +102,7 @@ void cpu_idle(void) } -#ifdef __LP64__ -#define COMMAND_GLOBAL 0xfffffffffffe0030UL -#else -#define COMMAND_GLOBAL 0xfffe0030 -#endif - +#define COMMAND_GLOBAL F_EXTEND(0xfffe0030) #define CMD_RESET 5 /* reset any module */ /*