diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-06-11 02:32:07 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-06-11 02:32:07 -0400 |
commit | 357d59469c1179c30b8c425aba302346fac3594e (patch) | |
tree | 6e27fcd85967ad06072ac84788ac891cbcc10235 /include/asm-sh/ubc.h | |
parent | 54039591cee40ef1f440f1245ed066c3e7d54a9a (diff) |
sh: Tidy up dependencies for SH-2 build.
SH-2 can presently get in to some pretty bogus states, so
we tidy up the dependencies a bit and get it all building
again.
This gets us a bit closer to a functional allyesconfig
and allmodconfig, though there are still a few things to
fix up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/ubc.h')
-rw-r--r-- | include/asm-sh/ubc.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-sh/ubc.h b/include/asm-sh/ubc.h index ae9bbdeefbe..38d46e01b84 100644 --- a/include/asm-sh/ubc.h +++ b/include/asm-sh/ubc.h | |||
@@ -51,9 +51,14 @@ | |||
51 | #define BRCR_UBDE (1 << 0) | 51 | #define BRCR_UBDE (1 << 0) |
52 | 52 | ||
53 | #ifndef __ASSEMBLY__ | 53 | #ifndef __ASSEMBLY__ |
54 | /* arch/sh/kernel/ubc.S */ | 54 | /* arch/sh/kernel/cpu/ubc.S */ |
55 | extern void ubc_wakeup(void); | ||
56 | extern void ubc_sleep(void); | 55 | extern void ubc_sleep(void); |
56 | |||
57 | #ifdef CONFIG_UBC_WAKEUP | ||
58 | extern void ubc_wakeup(void); | ||
59 | #else | ||
60 | #define ubc_wakeup() do { } while (0) | ||
61 | #endif | ||
57 | #endif | 62 | #endif |
58 | 63 | ||
59 | #endif /* __KERNEL__ */ | 64 | #endif /* __KERNEL__ */ |