[PATCH] officially deprecate register_ioctl32_conversion

From: Christoph Hellwig (hch_at_lst.de)
Date: 03/31/05

  • Next message: Alan Stern: "Re: klists and struct device semaphores"
    Date:	Thu, 31 Mar 2005 21:43:44 +0200
    To: akpm@osdl.org
    
    

    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.

    --- 1.8/Documentation/feature-removal-schedule.txt 2005-03-29 00:21:41 +02:00
    +++ edited/Documentation/feature-removal-schedule.txt 2005-03-31 17:17:42 +02:00
    @@ -46,3 +46,11 @@
             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>
    --- 1.5/include/linux/ioctl32.h 2004-08-27 08:30:32 +02:00
    +++ edited/include/linux/ioctl32.h 2005-03-31 17:18:24 +02:00
    @@ -1,6 +1,8 @@
     #ifndef IOCTL32_H
     #define IOCTL32_H 1
     
    +#include <linux/compilers.h> /* for __deprecated */
    +
     struct file;
     
     typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int,
    @@ -23,9 +25,9 @@
      */
     
     #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
     
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Alan Stern: "Re: klists and struct device semaphores"

    Relevant Pages