diff options
author | marcel <marcel@FreeBSD.org> | 2008-04-15 05:02:42 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-04-15 05:02:42 +0000 |
commit | da8b8894d683ec3f26ce38b603369f619be61bab (patch) | |
tree | 1bafe616b3bca7ae415958235e380da504e790ae /sys/kern/sched_ule.c | |
parent | f6323acd497cd1d4ce7101c195f5995cb83bc5b1 (diff) | |
download | FreeBSD-src-da8b8894d683ec3f26ce38b603369f619be61bab.zip FreeBSD-src-da8b8894d683ec3f26ce38b603369f619be61bab.tar.gz |
Support and switch to the ULE scheduler:
o Implement IPI_PREEMPT,
o Set td_lock for the thread being switched out,
o For ULE & SMP, loop while td_lock points to blocked_lock for
the thread being switched in,
o Enable ULE by default in GENERIC and SKI,
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index a1c0621..911b169 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/smp.h> -#if !defined(__i386__) && !defined(__amd64__) && !defined(__powerpc__) && !defined(__arm__) +#if defined(__sparc64__) || defined(__mips__) #error "This architecture is not currently compatible with ULE" #endif |