summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/alpha/trap.c1
-rw-r--r--sys/sparc64/sparc64/trap.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index 70f673e..0ee8227 100644
--- a/sys/alpha/alpha/trap.c
+++ b/sys/alpha/alpha/trap.c
@@ -38,7 +38,6 @@
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/proc.h>
-#include <sys/kse.h>
#include <sys/exec.h>
#include <sys/lock.h>
#include <sys/mutex.h>
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c
index c085e52..190096a 100644
--- a/sys/sparc64/sparc64/trap.c
+++ b/sys/sparc64/sparc64/trap.c
@@ -49,7 +49,6 @@
#include <sys/bus.h>
#include <sys/interrupt.h>
#include <sys/ktr.h>
-#include <sys/kse.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/systm.h>
@@ -239,7 +238,6 @@ trap(struct trapframe *tf)
if ((tf->tf_tstate & TSTATE_PRIV) == 0) {
KASSERT(td != NULL, ("trap: curthread NULL"));
- KASSERT(td->td_kse != NULL, ("trap: curkse NULL"));
KASSERT(td->td_proc != NULL, ("trap: curproc NULL"));
p = td->td_proc;
@@ -483,7 +481,6 @@ syscall(struct trapframe *tf)
td = PCPU_GET(curthread);
KASSERT(td != NULL, ("trap: curthread NULL"));
- KASSERT(td->td_kse != NULL, ("trap: curkse NULL"));
KASSERT(td->td_proc != NULL, ("trap: curproc NULL"));
p = td->td_proc;
OpenPOWER on IntegriCloud