aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps_64.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-18 15:23:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-05-18 15:23:48 +0900
commitdd2fdd264eaa616fab4cf80e89f83f4a2fc26288 (patch)
tree1f627ed435ed94e67151913016437a79f8f6a779 /arch/sh/kernel/traps_64.c
parentsh: fix up CONFIG_KEXEC=n build. (diff)
downloadlinux-dev-dd2fdd264eaa616fab4cf80e89f83f4a2fc26288.tar.xz
linux-dev-dd2fdd264eaa616fab4cf80e89f83f4a2fc26288.zip
sh64: provide a stub per_cpu_trap_init() definition.
This is needed to fix up the build at the moment. Gradually this will be reworked to follow the 32-bit initialization path and deal with delayed VBR initialization. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps_64.c')
-rw-r--r--arch/sh/kernel/traps_64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c
index e3f92eb05ffd..e67e140bf1f6 100644
--- a/arch/sh/kernel/traps_64.c
+++ b/arch/sh/kernel/traps_64.c
@@ -944,3 +944,8 @@ asmlinkage void do_debug_interrupt(unsigned long code, struct pt_regs *regs)
/* Clear all DEBUGINT causes */
poke_real_address_q(DM_EXP_CAUSE_PHY, 0x0);
}
+
+void __cpuinit per_cpu_trap_init(void)
+{
+ /* Nothing to do for now, VBR initialization later. */
+}