diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-18 15:47:18 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-18 15:47:18 +1100 |
commit | 6146eed1e972a7de93ce2e36adc5812de81e879c (patch) | |
tree | ecc17eeb0034a87c8f9bd763f258d4f6e2ff914d /arch/powerpc/platforms | |
parent | 437a58db57c61385baaa1cb8b7fa590b6a2f1607 (diff) | |
download | op-kernel-dev-6146eed1e972a7de93ce2e36adc5812de81e879c.zip op-kernel-dev-6146eed1e972a7de93ce2e36adc5812de81e879c.tar.gz |
powerpc: Fix compile error on pSeries arising from delay.h changes
pseries_dedicated_idle() was using __get_tb which used to be defined
in asm/delay.h. Change it to use get_tb from asm/time.h, which is
in fact exactly the same thing.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index b9d9732b..4a465f0 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c @@ -504,7 +504,7 @@ static void pseries_dedicated_idle(void) lpaca->lppaca.idle = 1; if (!need_resched()) { - start_snooze = __get_tb() + + start_snooze = get_tb() + *smt_snooze_delay * tb_ticks_per_usec; while (!need_resched() && !cpu_is_offline(cpu)) { @@ -518,7 +518,7 @@ static void pseries_dedicated_idle(void) HMT_very_low(); if (*smt_snooze_delay != 0 && - __get_tb() > start_snooze) { + get_tb() > start_snooze) { HMT_medium(); dedicated_idle_sleep(cpu); } |