summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_ule.c
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2007-10-23 00:52:25 +0000
committergrehan <grehan@FreeBSD.org>2007-10-23 00:52:25 +0000
commit7c82e0520d2cccaccea9795bc42790dc6f4c4bdc (patch)
treeecb72ee842c84e96ad01124da67b63938338698f /sys/kern/sched_ule.c
parentfc684e3b3fc38f0651bdb2ae161d54f26bbdf445 (diff)
downloadFreeBSD-src-7c82e0520d2cccaccea9795bc42790dc6f4c4bdc.zip
FreeBSD-src-7c82e0520d2cccaccea9795bc42790dc6f4c4bdc.tar.gz
Cut over to ULE on PowerPC
kern/sched_ule.c - Add __powerpc__ to the list of supported architectures powerpc/conf/GENERIC - Swap SCHED_4BSD with SCHED_ULE powerpc/powerpc/genassym.c - Export TD_LOCK field of thread struct powerpc/powerpc/swtch.S - Handle new 3rd parameter to cpu_switch() by updating the old thread's lock. Note: uniprocessor-only, will require modification for MP support. powerpc/powerpc/vm_machdep.c - Set 3rd param of cpu_switch to mutex of old thread's lock, making the call a no-op. Reviewed by: marcel, jeffr (slightly older version)
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r--sys/kern/sched_ule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index 0acacfe..2b33461 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/smp.h>
-#if !defined(__i386__) && !defined(__amd64__) && !defined(__arm__)
+#if !defined(__i386__) && !defined(__amd64__) && !defined(__powerpc__) && !defined(__arm__)
#error "This architecture is not currently compatible with ULE"
#endif
OpenPOWER on IntegriCloud