Index: sched_ule.c =================================================================== RCS file: /home/ncvs/src/sys/kern/sched_ule.c,v retrieving revision 1.209 diff -u -r1.209 sched_ule.c --- sched_ule.c 24 Sep 2007 00:28:54 -0000 1.209 +++ sched_ule.c 26 Sep 2007 14:45:03 -0000 @@ -71,8 +71,8 @@ #include #include -#ifndef PREEMPTION -#error "SCHED_ULE requires options PREEMPTION" +#if !defined(__i386__) && !defined(__amd64__) +#error "This architecture is not currently compatible with ULE" #endif #define KTR_ULE 0 @@ -174,7 +174,15 @@ static int realstathz; static int tickincr; static int sched_slice; +#ifdef PREEMPTION +#ifdef FULL_PREEMPTION +static int preempt_thresh = PRI_MAX_IDLE; +#else static int preempt_thresh = PRI_MIN_KERN; +#endif +#else +static int preempt_thresh = 0; +#endif /* * tdq - per processor runqs and statistics. All fields are protected by the