summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2015-07-11 17:33:50 +0000
committerjhibbits <jhibbits@FreeBSD.org>2015-07-11 17:33:50 +0000
commit34875849ac8b12113d90d7171bd29ba461f5439e (patch)
tree7b469dadf999906289d9134b88d4f24ff28e9889 /sys/powerpc/include
parent45674912578ba1480166b5c9537c35fb30123083 (diff)
downloadFreeBSD-src-34875849ac8b12113d90d7171bd29ba461f5439e.zip
FreeBSD-src-34875849ac8b12113d90d7171bd29ba461f5439e.tar.gz
cpu_number and cpu_swapout are never used, and only defined in powerpc.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/cpu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index c4fa94a..ba45eb0 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -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.
*/
OpenPOWER on IntegriCloud