From f82c7997354f95e680341bb8e10136ded5fd15eb Mon Sep 17 00:00:00 2001 From: jb Date: Thu, 26 Oct 2006 21:42:22 +0000 Subject: Make KSE a kernel option, turned on by default in all GENERIC kernel configs except sun4v (which doesn't process signals properly with KSE). Reviewed by: davidxu@ --- sys/arm/xscale/i80321/ep80219_machdep.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/arm/xscale/i80321/ep80219_machdep.c') diff --git a/sys/arm/xscale/i80321/ep80219_machdep.c b/sys/arm/xscale/i80321/ep80219_machdep.c index 59bd7ca3..72ba79b 100644 --- a/sys/arm/xscale/i80321/ep80219_machdep.c +++ b/sys/arm/xscale/i80321/ep80219_machdep.c @@ -429,7 +429,11 @@ initarm(void *arg, void *arg2) undefined_handler_address = (u_int)undefinedinstruction_bounce; undefined_init(); +#ifdef KSE proc_linkup(&proc0, &ksegrp0, &thread0); +#else + proc_linkup(&proc0, &thread0); +#endif thread0.td_kstack = kernelstack.pv_va; thread0.td_pcb = (struct pcb *) (thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1; -- cgit v1.1