git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-sh
/
ubc.h
diff --git
a/include/asm-sh/ubc.h
b/include/asm-sh/ubc.h
index
412a649
..
694f51f
100644
(file)
--- a/
include/asm-sh/ubc.h
+++ b/
include/asm-sh/ubc.h
@@
-10,11
+10,13
@@
*/
#ifndef __ASM_SH_UBC_H
#define __ASM_SH_UBC_H
*/
#ifndef __ASM_SH_UBC_H
#define __ASM_SH_UBC_H
+#ifdef __KERNEL__
#include <asm/cpu/ubc.h>
/* User Break Controller */
#include <asm/cpu/ubc.h>
/* User Break Controller */
-#if defined(CONFIG_CPU_SUBTYPE_SH7709)
+#if defined(CONFIG_CPU_SUBTYPE_SH7707) || defined(CONFIG_CPU_SUBTYPE_SH7709) || \
+ defined(CONFIG_CPU_SUBTYPE_SH7300)
#define UBC_TYPE_SH7729 (cpu_data->type == CPU_SH7729)
#else
#define UBC_TYPE_SH7729 0
#define UBC_TYPE_SH7729 (cpu_data->type == CPU_SH7729)
#else
#define UBC_TYPE_SH7729 0
@@
-54,5
+56,5
@@
extern void ubc_wakeup(void);
extern void ubc_sleep(void);
#endif
extern void ubc_sleep(void);
#endif
+#endif /* __KERNEL__ */
#endif /* __ASM_SH_UBC_H */
#endif /* __ASM_SH_UBC_H */
-