aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/rtas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/rtas.h')
-rw-r--r--include/asm-powerpc/rtas.h3
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;
160extern void enter_rtas(unsigned long); 161extern void enter_rtas(unsigned long);
161extern int rtas_token(const char *service); 162extern int rtas_token(const char *service);
162extern int rtas_call(int token, int, int, int *, ...); 163extern int rtas_call(int token, int, int, int *, ...);
163extern void call_rtas_display_status(unsigned char);
164extern void rtas_restart(char *cmd); 164extern void rtas_restart(char *cmd);
165extern void rtas_power_off(void); 165extern void rtas_power_off(void);
166extern void rtas_halt(void); 166extern 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 */