Patchwork sparc32: Remove sparc_lvl15_nmi().

login
register
mail settings
Submitter David Miller
Date May 12, 2012, 4:32 a.m.
Message ID <20120512.003211.951859984802886720.davem@davemloft.net>
Download mbox | patch
Permalink /patch/158684/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - May 12, 2012, 4:32 a.m.
No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 arch/sparc/mm/fault_32.c |   15 ---------------
 1 file changed, 15 deletions(-)

Patch

diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c
index a0f4db9..dd020b2 100644
--- a/arch/sparc/mm/fault_32.c
+++ b/arch/sparc/mm/fault_32.c
@@ -59,21 +59,6 @@  unsigned long probe_memory(void)
 	return total;
 }
 
-/* Whee, a level 15 NMI interrupt memory error.  Let's have fun... */
-asmlinkage void sparc_lvl15_nmi(struct pt_regs *regs, unsigned long serr,
-				unsigned long svaddr, unsigned long aerr,
-				unsigned long avaddr)
-{
-	printk("FAULT: NMI received\n");
-	printk("SREGS: Synchronous Error %08lx\n", serr);
-	printk("       Synchronous Vaddr %08lx\n", svaddr);
-	printk("      Asynchronous Error %08lx\n", aerr);
-	printk("      Asynchronous Vaddr %08lx\n", avaddr);
-	printk("REGISTER DUMP:\n");
-	show_regs(regs);
-	prom_halt();
-}
-
 static void unhandled_fault(unsigned long, struct task_struct *,
 		struct pt_regs *) __attribute__ ((noreturn));