svn commit: r234580 - in head/sys: conf powerpc/include
powerpc/powerpc
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Apr 22 18:56:56 UTC 2012
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>
More information about the svn-src-head
mailing list