diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-16 11:20:42 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-16 11:20:42 +0200 |
commit | cae19b5902d52ff059f5df98ea993a00e5686af1 (patch) | |
tree | fde9a56fba71bdb062c34f17a54ee156fa11ff0a /arch/sh/kernel/cpu/init.c | |
parent | Merge branch 'sh/stable-updates' (diff) | |
download | linux-cae19b5902d52ff059f5df98ea993a00e5686af1.tar.xz linux-cae19b5902d52ff059f5df98ea993a00e5686af1.zip |
sh: Kill off legacy UBC wakeup cruft.
This code was added for some ancient SH-4 solution engines with peculiar
boot ROMs that did silly things to the UBC MSTP bits. None of these have
been in the wild for years, and these days the clock framework wraps up
the MSTP bits, meaning that the UBC code is one of the few interfaces
that is stomping MSTP bits underneath the clock framework. At this point
the risks far outweigh any benefit this code provided, so just kill it
off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/init.c')
-rw-r--r-- | arch/sh/kernel/cpu/init.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sh/kernel/cpu/init.c b/arch/sh/kernel/cpu/init.c index e932ebef4738..580d58b94cc5 100644 --- a/arch/sh/kernel/cpu/init.c +++ b/arch/sh/kernel/cpu/init.c @@ -338,17 +338,6 @@ asmlinkage void __init sh_cpu_init(void) } #endif - /* - * Some brain-damaged loaders decided it would be a good idea to put - * the UBC to sleep. This causes some issues when it comes to things - * like PTRACE_SINGLESTEP or doing hardware watchpoints in GDB. So .. - * we wake it up and hope that all is well. - */ -#ifdef CONFIG_SUPERH32 - if (raw_smp_processor_id() == 0) - ubc_wakeup(); -#endif - speculative_execution_init(); expmask_init(); } |