2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00

[SPARC64]: Check for errors in hypervisor_tlb_lock().

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-02-17 14:40:30 -08:00
parent 52845cdb3b
commit 12e126ad22

View File

@ -510,6 +510,11 @@ static void __init hypervisor_tlb_lock(unsigned long vaddr,
"=&r" (arg3)
: "0" (func), "1" (arg0), "2" (arg1),
"3" (arg2), "4" (arg3));
if (arg0 != 0) {
prom_printf("hypervisor_tlb_lock[%lx:%lx:%lx:%lx]: "
"errors with %lx\n", vaddr, 0, pte, mmu, arg0);
prom_halt();
}
}
static unsigned long kern_large_tte(unsigned long paddr);