summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/cf-enabler.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-15 15:38:30 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 02:43:40 +0000
commitfd8f20e8e2f8f1d9201086bff444c8d35f0a6a45 (patch)
tree0823660fdd2ec53c6dede452d0802f54119bbde6 /arch/sh/kernel/cf-enabler.c
parent82f81f4784479df17a80caff4a7156da0a2f7dea (diff)
sh: Rip out special unknown machvec.
This kills off the BareCPU board as a "special" machvec, rather, we leave this as a default for when no other vector is available, or when we want to use it in combination with other vectors for testing with generic ops. As sh_mv is copied out anyways (or overloaded when an alternate vector is explicitly selected), this doesn't consume any additional memory. The generic machvec can be forcibly selected with sh_mv=generic, or by not having any other boards enabled. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cf-enabler.c')
-rw-r--r--arch/sh/kernel/cf-enabler.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sh/kernel/cf-enabler.c b/arch/sh/kernel/cf-enabler.c
index ebc73b85094a..1c3b99642e1c 100644
--- a/arch/sh/kernel/cf-enabler.c
+++ b/arch/sh/kernel/cf-enabler.c
@@ -75,11 +75,7 @@ static int __init cf_init_default(void)
#if defined(CONFIG_CPU_SH4)
allocate_cf_area();
#endif
-#if defined(CONFIG_SH_UNKNOWN)
- /* This should be done in each board's init_xxx_irq. */
- make_imask_irq(14);
- disable_irq(14);
-#endif
+
return 0;
}