diff options
Diffstat (limited to 'include/asm-powerpc/rtas.h')
-rw-r--r-- | include/asm-powerpc/rtas.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/rtas.h b/include/asm-powerpc/rtas.h index d1bb611ea626..f43c6835e62a 100644 --- a/include/asm-powerpc/rtas.h +++ b/include/asm-powerpc/rtas.h | |||
@@ -1,5 +1,6 @@ | |||
1 | #ifndef _POWERPC_RTAS_H | 1 | #ifndef _POWERPC_RTAS_H |
2 | #define _POWERPC_RTAS_H | 2 | #define _POWERPC_RTAS_H |
3 | #ifdef __KERNEL__ | ||
3 | 4 | ||
4 | #include <linux/spinlock.h> | 5 | #include <linux/spinlock.h> |
5 | #include <asm/page.h> | 6 | #include <asm/page.h> |
@@ -160,7 +161,6 @@ extern struct rtas_t rtas; | |||
160 | extern void enter_rtas(unsigned long); | 161 | extern void enter_rtas(unsigned long); |
161 | extern int rtas_token(const char *service); | 162 | extern int rtas_token(const char *service); |
162 | extern int rtas_call(int token, int, int, int *, ...); | 163 | extern int rtas_call(int token, int, int, int *, ...); |
163 | extern void call_rtas_display_status(unsigned char); | ||
164 | extern void rtas_restart(char *cmd); | 164 | extern void rtas_restart(char *cmd); |
165 | extern void rtas_power_off(void); | 165 | extern void rtas_power_off(void); |
166 | extern void rtas_halt(void); | 166 | extern void rtas_halt(void); |
@@ -229,4 +229,5 @@ extern unsigned long rtas_rmo_buf; | |||
229 | 229 | ||
230 | #define GLOBAL_INTERRUPT_QUEUE 9005 | 230 | #define GLOBAL_INTERRUPT_QUEUE 9005 |
231 | 231 | ||
232 | #endif /* __KERNEL__ */ | ||
232 | #endif /* _POWERPC_RTAS_H */ | 233 | #endif /* _POWERPC_RTAS_H */ |