diff options
author | marcel <marcel@FreeBSD.org> | 2008-08-30 18:39:29 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-08-30 18:39:29 +0000 |
commit | 68d75b49c2d14644a97c64d394e222c30a6c3017 (patch) | |
tree | 52d2244e022e557554a89a512a791a8983c6d4d5 /sys/powerpc | |
parent | 7cf0ef569d44755b354923b4166e2c34bdac7ec4 (diff) | |
download | FreeBSD-src-68d75b49c2d14644a97c64d394e222c30a6c3017.zip FreeBSD-src-68d75b49c2d14644a97c64d394e222c30a6c3017.tar.gz |
Call powerpc_sync() instead of using an asm statement.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index c349bab..7f8d8df 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -743,7 +743,7 @@ cpu_idle(int busy) } #endif if (powerpc_pow_enabled) { - __asm __volatile("sync"); + powerpc_sync(); mtmsr(msr | PSL_POW); isync(); } |