Date: Sun, 22 Apr 2012 18:56:56 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r234580 - in head/sys: conf powerpc/include powerpc/powerpc Message-ID: <201204221856.q3MIuuZU052555@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Sun Apr 22 18:56:56 2012 New Revision: 234580 URL: http://svn.freebsd.org/changeset/base/234580 Log: 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 Deleted: head/sys/powerpc/powerpc/atomic.S Modified: head/sys/conf/files.powerpc head/sys/powerpc/include/cpufunc.h Modified: head/sys/conf/files.powerpc ============================================================================== --- head/sys/conf/files.powerpc Sun Apr 22 18:54:51 2012 (r234579) +++ head/sys/conf/files.powerpc Sun Apr 22 18:56:56 2012 (r234580) @@ -170,7 +170,6 @@ powerpc/powermac/uninorthpci.c optional powerpc/powermac/vcoregpio.c optional powermac powerpc/powermac/windtunnel.c optional powermac windtunnel powerpc/powerpc/altivec.c optional aim -powerpc/powerpc/atomic.S standard powerpc/powerpc/autoconf.c standard powerpc/powerpc/bcopy.c standard powerpc/powerpc/bus_machdep.c standard Modified: head/sys/powerpc/include/cpufunc.h ============================================================================== --- head/sys/powerpc/include/cpufunc.h Sun Apr 22 18:54:51 2012 (r234579) +++ head/sys/powerpc/include/cpufunc.h Sun Apr 22 18:56:56 2012 (r234580) @@ -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 <sys/types.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204221856.q3MIuuZU052555>