diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-04-05 12:50:16 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-04-05 12:50:16 +0000 |
commit | b2b6c7a9063c88d92da6ab79d2e1ffd7ac133576 (patch) | |
tree | de9b11224cdbee08151570d48396b881c74c831c /sys/dev/wscons | |
parent | f3217e0943161ff8510a20c5604474e66e68adea (diff) |
Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, no
one has been weeding it, and it makes life harder.
Toasts of Brennivin for its passing from many; diff ok henning@
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r-- | sys/dev/wscons/wsdisplay_compat_usl.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/dev/wscons/wsdisplay_compat_usl.c b/sys/dev/wscons/wsdisplay_compat_usl.c index 66235d97e56..5ad2697165f 100644 --- a/sys/dev/wscons/wsdisplay_compat_usl.c +++ b/sys/dev/wscons/wsdisplay_compat_usl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplay_compat_usl.c,v 1.21 2010/08/28 12:48:14 miod Exp $ */ +/* $OpenBSD: wsdisplay_compat_usl.c,v 1.22 2011/04/05 12:50:15 guenther Exp $ */ /* $NetBSD: wsdisplay_compat_usl.c,v 1.12 2000/03/23 07:01:47 thorpej Exp $ */ /* @@ -404,21 +404,6 @@ wsdisplay_usl_ioctl2(struct wsdisplay_softc *sc, struct wsscreen *scr, return (EPERM); /* FALLTHROUGH */ case KDDISABIO: -#if defined(COMPAT_FREEBSD) - { - struct trapframe *fp = (struct trapframe *)p->p_md.md_regs; - extern struct emul emul_freebsd_aout; - extern struct emul emul_freebsd_elf; - - if (p->p_emul == &emul_freebsd_aout || - p->p_emul == &emul_freebsd_elf) { - if (cmd == KDENABIO) - fp->tf_eflags |= PSL_IOPL; - else - fp->tf_eflags &= ~PSL_IOPL; - } - } -#endif return (0); #else case KDENABIO: |