aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim/aim_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/aim/aim_machdep.c')
-rw-r--r--sys/powerpc/aim/aim_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/aim/aim_machdep.c b/sys/powerpc/aim/aim_machdep.c
index b09089069c28..784207e9a70d 100644
--- a/sys/powerpc/aim/aim_machdep.c
+++ b/sys/powerpc/aim/aim_machdep.c
@@ -768,7 +768,8 @@ mpc745x_sleep()
while (1)
mtmsr(msr);
}
- platform_smp_timebase_sync(timebase, 0);
+ /* XXX: The mttb() means this *only* works on single-CPU systems. */
+ mttb(timebase);
PCPU_SET(curthread, curthread);
PCPU_SET(curpcb, curthread->td_pcb);
pmap_activate(curthread);