summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/trap.c12
-rw-r--r--sys/arm/conf/AVILA1
-rw-r--r--sys/arm/xscale/i8134x/crb_machdep.c4
3 files changed, 0 insertions, 17 deletions
diff --git a/sys/arm/arm/trap.c b/sys/arm/arm/trap.c
index 8424a17..fc03b52 100644
--- a/sys/arm/arm/trap.c
+++ b/sys/arm/arm/trap.c
@@ -262,10 +262,6 @@ data_abort_handler(trapframe_t *tf)
td->td_frame = tf;
if (td->td_ucred != td->td_proc->p_ucred)
cred_update_thread(td);
-#ifdef KSE
- if (td->td_pflags & TDP_SA)
- thread_user_enter(td);
-#endif
}
/* Grab the current pcb */
@@ -731,10 +727,6 @@ prefetch_abort_handler(trapframe_t *tf)
td->td_frame = tf;
if (td->td_ucred != td->td_proc->p_ucred)
cred_update_thread(td);
-#ifdef KSE
- if (td->td_proc->p_flag & P_SA)
- thread_user_enter(td);
-#endif
}
fault_pc = tf->tf_pc;
if (td->td_md.md_spinlock_count == 0) {
@@ -1008,10 +1000,6 @@ swi_handler(trapframe_t *frame)
td->td_frame = frame;
td->td_pticks = 0;
-#ifdef KSE
- if (td->td_proc->p_flag & P_SA)
- thread_user_enter(td);
-#endif
/*
* Make sure the program counter is correctly aligned so we
* don't take an alignment fault trying to read the opcode.
diff --git a/sys/arm/conf/AVILA b/sys/arm/conf/AVILA
index 1fbe148..2308152 100644
--- a/sys/arm/conf/AVILA
+++ b/sys/arm/conf/AVILA
@@ -49,7 +49,6 @@ options DDB #Enable the kernel debugger
#options DIAGNOSTIC
options SCHED_4BSD #4BSD scheduler
-options KSE
options INET #InterNETworking
options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
diff --git a/sys/arm/xscale/i8134x/crb_machdep.c b/sys/arm/xscale/i8134x/crb_machdep.c
index 0c6475a..18570e4 100644
--- a/sys/arm/xscale/i8134x/crb_machdep.c
+++ b/sys/arm/xscale/i8134x/crb_machdep.c
@@ -406,11 +406,7 @@ initarm(void *arg, void *arg2)
undefined_handler_address = (u_int)undefinedinstruction_bounce;
undefined_init();
-#ifdef KSE
- proc_linkup(&proc0, &ksegrp0, &thread0);
-#else
proc_linkup0(&proc0, &thread0);
-#endif
thread0.td_kstack = kernelstack.pv_va;
thread0.td_pcb = (struct pcb *)
(thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;
OpenPOWER on IntegriCloud