summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/i386/mem.c2
-rw-r--r--sys/i386/include/proc.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/i386/mem.c b/sys/i386/i386/mem.c
index c129feb..379b59c 100644
--- a/sys/i386/i386/mem.c
+++ b/sys/i386/i386/mem.c
@@ -98,7 +98,6 @@ mmclose(struct cdev *dev, int flags, int fmt, struct thread *td)
{
switch (minor(dev)) {
case 14:
- td->td_proc->p_md.md_iopl = 0;
td->td_frame->tf_eflags &= ~PSL_IOPL;
}
return (0);
@@ -126,7 +125,6 @@ mmopen(struct cdev *dev, int flags, int fmt, struct thread *td)
if (error != 0)
return (error);
td->td_frame->tf_eflags |= PSL_IOPL;
- td->td_proc->p_md.md_iopl = PSL_IOPL;
break;
}
return (0);
diff --git a/sys/i386/include/proc.h b/sys/i386/include/proc.h
index 810a8e5..5b2c286 100644
--- a/sys/i386/include/proc.h
+++ b/sys/i386/include/proc.h
@@ -52,7 +52,6 @@ struct mdthread {
struct mdproc {
struct proc_ldt *md_ldt; /* (j) per-process ldt */
- uint32_t md_iopl; /* process' iopl level */
};
#ifdef _KERNEL
OpenPOWER on IntegriCloud