projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370361f
)
[PARISC] Use F_EXTEND() for COMMAND_GLOBAL
author
Kyle McMartin
<kyle@parisc-linux.org>
Sat, 14 Jan 2006 05:05:21 +0000
(22:05 -0700)
committer
Kyle McMartin
<kyle@duet.int.mcmartin.ca>
Mon, 23 Jan 2006 01:26:41 +0000
(20:26 -0500)
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>
arch/parisc/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/parisc/kernel/process.c
b/arch/parisc/kernel/process.c
index 5da41677e70bd36201d9fd729345664d4c4b6781..f46259e2fab546e26b1e4ddc0bb1f9a88be2b223 100644
(file)
--- 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 */
/*