projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52845cd
)
[SPARC64]: Check for errors in hypervisor_tlb_lock().
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 17 Feb 2006 22:40:30 +0000
(14:40 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:31 +0000
(
01:13
-0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/mm/init.c
b/arch/sparc64/mm/init.c
index 950d58082e28ffb3d3668a9fa6555ec2200a1cac..bd9e3205674b5bae4ae3bd7d55fa551d8cd6a689 100644
(file)
--- a/
arch/sparc64/mm/init.c
+++ b/
arch/sparc64/mm/init.c
@@
-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);