Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
#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,
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);
}