Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3b0b4af2c7593af6dfe92afa1033033c4746ec11
Commit:     3b0b4af2c7593af6dfe92afa1033033c4746ec11
Parent:     32c5b050927c515cea4083eb8f3a7177dc4279a1
Author:     Heiko Carstens <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 5 21:16:58 2007 +0100
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Mon Feb 5 21:16:58 2007 +0100

    [S390] Simplify virt_to_phys.
    
    No need to use lrag in 64 bit addressing mode since lra will do the
    same.
    
    Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]>
    Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>
---
 include/asm-s390/io.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/asm-s390/io.h b/include/asm-s390/io.h
index efb7de9..a4c2d55 100644
--- 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:"
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to