Skip to content

Commit

Permalink
[SPARC64]: Check for errors in hypervisor_tlb_lock().
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 52845cd commit 12e126a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/sparc64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12e126a

Please sign in to comment.