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

Justin Hibbits jhibbits at FreeBSD.org
Sat Jul 11 17:33:51 UTC 2015


Author: jhibbits
Date: Sat Jul 11 17:33:50 2015
New Revision: 285397
URL: https://svnweb.freebsd.org/changeset/base/285397

Log:
  cpu_number and cpu_swapout are never used, and only defined in powerpc.

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

Modified: head/sys/powerpc/include/cpu.h
==============================================================================
--- head/sys/powerpc/include/cpu.h	Sat Jul 11 17:01:08 2015	(r285396)
+++ head/sys/powerpc/include/cpu.h	Sat Jul 11 17:33:50 2015	(r285397)
@@ -65,9 +65,6 @@ extern int cpu_features;
 #define	TRAPF_USERMODE(frame)	(((frame)->srr1 & PSL_PR) != 0)
 #define	TRAPF_PC(frame)		((frame)->srr0)
 
-#define	cpu_swapout(p)
-#define	cpu_number()		0
-
 /*
  * CTL_MACHDEP definitions.
  */


More information about the svn-src-head mailing list