aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/traps.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-25 01:17:29 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-25 01:17:29 -0400
commit41660e9ac639c97840258d3c5294f618ca8cc46f (patch)
tree6284f3c320d8306ea7a10a7050bba0de1a79dd91 /arch/sparc64/kernel/traps.c
parent881d021ab0d675f519b68df916fde969940ef988 (diff)
sparc64: Allow chmc to be built as a module.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r--arch/sparc64/kernel/traps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 17880ccfa3cd..71644da6cad1 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -166,6 +166,7 @@ int register_dimm_printer(dimm_printer_t func)
166 166
167 return ret; 167 return ret;
168} 168}
169EXPORT_SYMBOL_GPL(register_dimm_printer);
169 170
170void unregister_dimm_printer(dimm_printer_t func) 171void unregister_dimm_printer(dimm_printer_t func)
171{ 172{
@@ -176,7 +177,7 @@ void unregister_dimm_printer(dimm_printer_t func)
176 dimm_handler = NULL; 177 dimm_handler = NULL;
177 spin_unlock_irqrestore(&dimm_handler_lock, flags); 178 spin_unlock_irqrestore(&dimm_handler_lock, flags);
178} 179}
179 180EXPORT_SYMBOL_GPL(unregister_dimm_printer);
180 181
181void spitfire_insn_access_exception(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar) 182void spitfire_insn_access_exception(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
182{ 183{