Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=00cab92f9e91c0feeaca11a485b15175304779d5
Commit:     00cab92f9e91c0feeaca11a485b15175304779d5
Parent:     6cfa062f01b601206b980e503f62dc593ed8fcaa
Author:     Ken'ichi Ohmichi <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:27:29 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:42:54 2007 -0700

    add-vmcore: use the existing ia64_tpa() instead of asm code
    
    Signed-off-by: Ken'ichi Ohmichi <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/machine_kexec.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index 40f9c3e..c55a090 100644
--- a/arch/ia64/kernel/machine_kexec.c
+++ b/arch/ia64/kernel/machine_kexec.c
@@ -21,6 +21,7 @@
 #include <asm/setup.h>
 #include <asm/delay.h>
 #include <asm/meminit.h>
+#include <asm/processor.h>
 
 typedef NORET_TYPE void (*relocate_new_kernel_t)(
                                        unsigned long indirection_page,
@@ -145,9 +146,6 @@ void arch_crash_save_vmcoreinfo(void)
 
 unsigned long paddr_vmcoreinfo_note(void)
 {
-       unsigned long vaddr, paddr;
-       vaddr = (unsigned long)(char *)&vmcoreinfo_note;
-       asm volatile ("tpa %0 = %1" : "=r"(paddr) : "r"(vaddr) : "memory");
-       return paddr;
+       return ia64_tpa((unsigned long)(char *)&vmcoreinfo_note);
 }
 
-
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