svn commit: r258247 - head/sys/powerpc/include

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Nov 17 02:26:09 UTC 2013


Author: nwhitehorn
Date: Sun Nov 17 02:26:09 2013
New Revision: 258247
URL: http://svnweb.freebsd.org/changeset/base/258247

Log:
  Remove a pointless #ifdef AIM. This is just PPC64 specific, including
  64-bit Book-E.

Modified:
  head/sys/powerpc/include/counter.h

Modified: head/sys/powerpc/include/counter.h
==============================================================================
--- head/sys/powerpc/include/counter.h	Sun Nov 17 02:05:20 2013	(r258246)
+++ head/sys/powerpc/include/counter.h	Sun Nov 17 02:26:09 2013	(r258247)
@@ -34,7 +34,7 @@
 #include <sys/proc.h>
 #endif
 
-#if defined(AIM) && defined(__powerpc64__)
+#ifdef __powerpc64__
 
 #define	counter_enter()	do {} while (0)
 #define	counter_exit()	do {} while (0)
@@ -98,7 +98,7 @@ counter_u64_add(counter_u64_t c, int64_t
 	    : "cc", "memory");
 }
 
-#else	/* !AIM || !64bit */
+#else	/* !64bit */
 
 #define	counter_enter()	critical_enter()
 #define	counter_exit()	critical_exit()
@@ -157,6 +157,6 @@ counter_u64_add(counter_u64_t c, int64_t
 	counter_exit();
 }
 
-#endif	/* AIM 64bit */
+#endif	/* 64bit */
 
 #endif	/* ! __MACHINE_COUNTER_H__ */


More information about the svn-src-all mailing list