diff options
-rw-r--r-- | arch/powerpc/kernel/time.c | 2 | ||||
-rw-r--r-- | include/asm-powerpc/time.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 0a8a820672f4..43c687a1d76e 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -214,7 +214,6 @@ static void account_process_time(struct pt_regs *regs) | |||
214 | run_posix_cpu_timers(current); | 214 | run_posix_cpu_timers(current); |
215 | } | 215 | } |
216 | 216 | ||
217 | #ifdef CONFIG_PPC_SPLPAR | ||
218 | /* | 217 | /* |
219 | * Stuff for accounting stolen time. | 218 | * Stuff for accounting stolen time. |
220 | */ | 219 | */ |
@@ -279,6 +278,7 @@ void calculate_steal_time(void) | |||
279 | pme->purr = purr; | 278 | pme->purr = purr; |
280 | } | 279 | } |
281 | 280 | ||
281 | #ifdef CONFIG_PPC_SPLPAR | ||
282 | /* | 282 | /* |
283 | * Must be called before the cpu is added to the online map when | 283 | * Must be called before the cpu is added to the online map when |
284 | * a cpu is being brought up at runtime. | 284 | * a cpu is being brought up at runtime. |
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h index 3fd57c048f59..2d00e13c981a 100644 --- a/include/asm-powerpc/time.h +++ b/include/asm-powerpc/time.h | |||
@@ -232,7 +232,7 @@ extern void account_process_vtime(struct task_struct *tsk); | |||
232 | #define account_process_vtime(tsk) do { } while (0) | 232 | #define account_process_vtime(tsk) do { } while (0) |
233 | #endif | 233 | #endif |
234 | 234 | ||
235 | #if defined(CONFIG_VIRT_CPU_ACCOUNTING) && defined(CONFIG_PPC_SPLPAR) | 235 | #if defined(CONFIG_VIRT_CPU_ACCOUNTING) |
236 | extern void calculate_steal_time(void); | 236 | extern void calculate_steal_time(void); |
237 | extern void snapshot_timebases(void); | 237 | extern void snapshot_timebases(void); |
238 | #else | 238 | #else |