mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Milton Miller <miltonm@bga.com>
To: Marcelo.Tosatti@sullivan.realtime.net (marcelo@conectiva.com.br)
Cc: trivial@rustcorp.com.au, alan@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] Simplify vt.c ifdef for sys_ioperm
Date: Wed, 14 Aug 2002 23:43:48 -0500 (CDT)	[thread overview]
Message-ID: <200208150443.g7F4hms72462@sullivan.realtime.net> (raw)


Several architectures defined sys_ioperm but don't actually implement it:

arch/m68k/kernel/sys_m68k.c: sys_ioperm return -ENOSYS
arch/sparc/kernel/setup.c: sys_ioperm return -EIO
arch/ppc/kernel/syscalls.c: sys_ioperm printk(KERN_ERR ...) return -EIO

(vs current 2.4 bk  -- 2.4.20-pre2+)

===== drivers/char/vt.c 1.10 vs edited =====
--- 1.10/drivers/char/vt.c	Tue Aug  6 09:42:07 2002
+++ edited/drivers/char/vt.c	Wed Aug 14 23:09:20 2002
@@ -481,7 +481,7 @@
 		ucval = keyboard_type;
 		goto setchar;
 
-#if defined(__i386__) || defined(__mc68000__) || defined(__ppc__) || defined(__sparc__)
+#if defined(CONFIG_X86)
 		/*
 		 * These cannot be implemented on any machine that implements
 		 * ioperm() in user level (such as Alpha PCs).

                 reply	other threads:[~2002-08-15  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200208150443.g7F4hms72462@sullivan.realtime.net \
    --to=miltonm@bga.com \
    --cc=Marcelo.Tosatti@sullivan.realtime.net \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®