aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2008-09-16 16:28:51 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2008-09-16 16:28:51 +0000
commit5da7ea0a89a98478a4fd8879d4475238780b6588 (patch)
tree2c4bc2f8a68b9d602e59958d131750823996953c /sys/powerpc
parentb2ef6b1833246ed0c3a1f8f71c9bc2e12891204c (diff)
Notes
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpufunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h
index caeceb3b707e..7e355621dc0e 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -158,7 +158,7 @@ powerpc_get_pcpup(void)
{
struct pcpu *ret;
- __asm ("mfsprg %0, 0" : "=r"(ret));
+ __asm __volatile("mfsprg %0, 0" : "=r"(ret));
return(ret);
}