summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/include/cpufunc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h
index 6928fc3..189befd 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -129,6 +129,13 @@ isync(void)
__asm __volatile ("isync");
}
+static __inline void
+powerpc_sync(void)
+{
+
+ __asm __volatile ("sync");
+}
+
static __inline register_t
intr_disable(void)
{
OpenPOWER on IntegriCloud