Commit 12e126ad authored by David S. Miller's avatar David S. Miller

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

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52845cdb
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment