From: akpm@osdl.org
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, hch@lst.de
Subject: [patch 134/198] officially deprecate register_ioctl32_conversion
Date: Tue, 12 Apr 2005 03:32:40 -0700 [thread overview]
Message-ID: <200504121032.j3CAWlw4005676@shell0.pdx.osdl.net> (raw)
From: Christoph Hellwig <hch@lst.de>
These have been deprecated since ->compat_ioctl when in, thus only a short
deprecation period. There's four users left: i2o_config, s390/z90crypy,
s390/dasd and s390/zfcp and for the first two patches are about to be
submitted to get rid of it.
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
25-akpm/Documentation/feature-removal-schedule.txt | 8 ++++++++
25-akpm/include/linux/ioctl32.h | 6 ++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff -puN Documentation/feature-removal-schedule.txt~officially-deprecate-register_ioctl32_conversion Documentation/feature-removal-schedule.txt
--- 25/Documentation/feature-removal-schedule.txt~officially-deprecate-register_ioctl32_conversion 2005-04-12 03:21:35.861685096 -0700
+++ 25-akpm/Documentation/feature-removal-schedule.txt 2005-04-12 03:21:35.866684336 -0700
@@ -40,3 +40,11 @@ Why: Replaced by io_remap_pfn_range() wh
addressabilty (by using a pfn) and supports sparc & sparc64
iospace as part of the pfn.
Who: Randy Dunlap <rddunlap@osdl.org>
+
+---------------------------
+
+What: register_ioctl32_conversion() / unregister_ioctl32_conversion()
+When: April 2005
+Why: Replaced by ->compat_ioctl in file_operations and other method
+ vecors.
+Who: Andi Kleen <ak@muc.de>, Christoph Hellwig <hch@lst.de>
diff -puN include/linux/ioctl32.h~officially-deprecate-register_ioctl32_conversion include/linux/ioctl32.h
--- 25/include/linux/ioctl32.h~officially-deprecate-register_ioctl32_conversion 2005-04-12 03:21:35.863684792 -0700
+++ 25-akpm/include/linux/ioctl32.h 2005-04-12 03:21:35.866684336 -0700
@@ -1,6 +1,8 @@
#ifndef IOCTL32_H
#define IOCTL32_H 1
+#include <linux/compiler.h> /* for __deprecated */
+
struct file;
typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int,
@@ -23,9 +25,9 @@ struct ioctl_trans {
*/
#ifdef CONFIG_COMPAT
-extern int register_ioctl32_conversion(unsigned int cmd,
+extern int __deprecated register_ioctl32_conversion(unsigned int cmd,
ioctl_trans_handler_t handler);
-extern int unregister_ioctl32_conversion(unsigned int cmd);
+extern int __deprecated unregister_ioctl32_conversion(unsigned int cmd);
#else
_
next reply other threads:[~2005-04-12 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-12 10:32 akpm [this message]
2005-04-13 2:02 ` [patch 134/198] officially deprecate register_ioctl32_conversion Alexey Dobriyan
2005-04-14 10:49 ` Christoph Hellwig
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=200504121032.j3CAWlw4005676@shell0.pdx.osdl.net \
--to=akpm@osdl.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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;
as well as URLs for NNTP newsgroup(s).