diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/rtas.h | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h index 3d35f8ae377e..9a1193e30f26 100644 --- a/arch/powerpc/include/asm/rtas.h +++ b/arch/powerpc/include/asm/rtas.h | |||
@@ -187,6 +187,7 @@ extern void rtas_progress(char *s, unsigned short hex); | |||
187 | extern void rtas_initialize(void); | 187 | extern void rtas_initialize(void); |
188 | extern int rtas_suspend_cpu(struct rtas_suspend_me_data *data); | 188 | extern int rtas_suspend_cpu(struct rtas_suspend_me_data *data); |
189 | extern int rtas_suspend_last_cpu(struct rtas_suspend_me_data *data); | 189 | extern int rtas_suspend_last_cpu(struct rtas_suspend_me_data *data); |
190 | extern int rtas_ibm_suspend_me(struct rtas_args *); | ||
190 | 191 | ||
191 | struct rtc_time; | 192 | struct rtc_time; |
192 | extern unsigned long rtas_get_boot_time(void); | 193 | extern unsigned long rtas_get_boot_time(void); |
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 41048de3c6c3..dc67ea46465e 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -805,7 +805,7 @@ static void rtas_percpu_suspend_me(void *info) | |||
805 | __rtas_suspend_cpu((struct rtas_suspend_me_data *)info, 1); | 805 | __rtas_suspend_cpu((struct rtas_suspend_me_data *)info, 1); |
806 | } | 806 | } |
807 | 807 | ||
808 | static int rtas_ibm_suspend_me(struct rtas_args *args) | 808 | int rtas_ibm_suspend_me(struct rtas_args *args) |
809 | { | 809 | { |
810 | long state; | 810 | long state; |
811 | long rc; | 811 | long rc; |
@@ -855,7 +855,7 @@ static int rtas_ibm_suspend_me(struct rtas_args *args) | |||
855 | return atomic_read(&data.error); | 855 | return atomic_read(&data.error); |
856 | } | 856 | } |
857 | #else /* CONFIG_PPC_PSERIES */ | 857 | #else /* CONFIG_PPC_PSERIES */ |
858 | static int rtas_ibm_suspend_me(struct rtas_args *args) | 858 | int rtas_ibm_suspend_me(struct rtas_args *args) |
859 | { | 859 | { |
860 | return -ENOSYS; | 860 | return -ENOSYS; |
861 | } | 861 | } |