Skip to content

Commit

Permalink
[PATCH] officially deprecate register_ioctl32_conversion
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed Apr 16, 2005
1 parent 6cae60f commit 22a685d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,11 @@ Why: Replaced by io_remap_pfn_range() which allows more memory space
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>
6 changes: 4 additions & 2 deletions include/linux/ioctl32.h
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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

Expand Down

0 comments on commit 22a685d

Please sign in to comment.