public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bill Nottingham <notting@redhat.com>
To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Cc: Bill Nottingham <notting@redhat.com>
Subject: [PATCH] Declare PIO_CMAP/GIO_CMAP as compatbile ioctls.
Date: Wed, 25 Mar 2009 15:00:47 -0400	[thread overview]
Message-ID: <1238007647-25752-2-git-send-email-notting@redhat.com> (raw)
In-Reply-To: <1238007647-25752-1-git-send-email-notting@redhat.com>

Otherwise, these don't work when called from 32-bit userspace on 64-bit kernels.
---
 fs/compat_ioctl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 5235c67..9ee71a0 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1937,6 +1937,8 @@ ULONG_IOCTL(SET_BITMAP_FILE)
 /* Big K */
 COMPATIBLE_IOCTL(PIO_FONT)
 COMPATIBLE_IOCTL(GIO_FONT)
+COMPATIBLE_IOCTL(PIO_CMAP)
+COMPATIBLE_IOCTL(GIO_CMAP)
 ULONG_IOCTL(KDSIGACCEPT)
 COMPATIBLE_IOCTL(KDGETKEYCODE)
 COMPATIBLE_IOCTL(KDSETKEYCODE)
-- 
1.6.1.2


  reply	other threads:[~2009-03-25 19:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 19:00 [PATCH] Add a 'wait-scan' command to /proc/scsi/scsi Bill Nottingham
2009-03-25 19:00 ` Bill Nottingham [this message]
2009-03-25 19:02   ` [PATCH] Declare PIO_CMAP/GIO_CMAP as compatbile ioctls Bill Nottingham
2009-03-25 19:01 ` [PATCH] Add a 'wait-scan' command to /proc/scsi/scsi Christoph Hellwig
2009-03-25 19:03   ` Bill Nottingham
2009-03-25 19:26     ` Matthew Wilcox
2009-03-25 19:47       ` Bill Nottingham
2009-03-25 20:36         ` Matthew Wilcox
2009-03-26 14:47           ` Bill Nottingham
2009-03-26 17:25             ` Kay Sievers
  -- strict thread matches above, loose matches on Subject: below --
2009-02-10 15:25 [PATCH] Declare PIO_CMAP/GIO_CMAP as compatbile ioctls Bill Nottingham
2009-02-11 13:41 ` Jiri Kosina
2009-02-15 21:41   ` Andrew Morton
2009-02-16 17:23     ` Bill Nottingham
2009-02-16 20:04       ` Andrew Morton

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=1238007647-25752-2-git-send-email-notting@redhat.com \
    --to=notting@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /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