projects
/
GitHub
/
moto-9609
/
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:
32c5b05
)
[S390] Simplify virt_to_phys.
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Mon, 5 Feb 2007 20:16:58 +0000
(21:16 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 5 Feb 2007 20:16:58 +0000
(21:16 +0100)
No need to use lrag in 64 bit addressing mode since lra will do the
same.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/io.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-s390/io.h
b/include/asm-s390/io.h
index efb7de9c1c6bc815ba5e5f04d32967ec6b2cad2b..a4c2d550dad4268e97836bda9ea6d6f48416cf8a 100644
(file)
--- a/
include/asm-s390/io.h
+++ b/
include/asm-s390/io.h
@@
-28,11
+28,7
@@
static inline unsigned long virt_to_phys(volatile void * address)
{
unsigned long real_address;
asm volatile(
-#ifndef __s390x__
" lra %0,0(%1)\n"
-#else /* __s390x__ */
- " lrag %0,0(%1)\n"
-#endif /* __s390x__ */
" jz 0f\n"
" la %0,0\n"
"0:"