aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/ubc.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-16 05:20:42 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-16 05:20:42 -0400
commitcae19b5902d52ff059f5df98ea993a00e5686af1 (patch)
treefde9a56fba71bdb062c34f17a54ee156fa11ff0a /arch/sh/include/asm/ubc.h
parent78aed4a63aaa67f22cb1b541dd7528139a24c289 (diff)
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/include/asm/ubc.h')
-rw-r--r--arch/sh/include/asm/ubc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sh/include/asm/ubc.h b/arch/sh/include/asm/ubc.h
index 4ca4b7717371..9bf961684431 100644
--- a/arch/sh/include/asm/ubc.h
+++ b/arch/sh/include/asm/ubc.h
@@ -60,16 +60,5 @@
60#define BRCR_UBDE (1 << 0) 60#define BRCR_UBDE (1 << 0)
61#endif 61#endif
62 62
63#ifndef __ASSEMBLY__
64/* arch/sh/kernel/cpu/ubc.S */
65extern void ubc_sleep(void);
66
67#ifdef CONFIG_UBC_WAKEUP
68extern void ubc_wakeup(void);
69#else
70#define ubc_wakeup() do { } while (0)
71#endif
72#endif
73
74#endif /* __KERNEL__ */ 63#endif /* __KERNEL__ */
75#endif /* __ASM_SH_UBC_H */ 64#endif /* __ASM_SH_UBC_H */