From 0e093d4003dfd64e9a626b7e6addc1ed61586b31 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sun, 22 Apr 2012 18:56:56 +0000 Subject: Remove dead code. The routines in atomic.S did not work properly anyway, and were everywhere unused. If we turn out to need them, they should be reimplemented. MFC after: 2 weeks --- sys/powerpc/include/cpufunc.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sys/powerpc/include') diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h index 914935f..bb01fdb 100644 --- a/sys/powerpc/include/cpufunc.h +++ b/sys/powerpc/include/cpufunc.h @@ -29,16 +29,6 @@ #ifndef _MACHINE_CPUFUNC_H_ #define _MACHINE_CPUFUNC_H_ -/* - * Required for user-space atomic.h includes - */ -static __inline void -powerpc_mb(void) -{ - - __asm __volatile("eieio; sync" : : : "memory"); -} - #ifdef _KERNEL #include -- cgit v1.1