cleanup compat ioctl handling
Merge all compat ioctl handling into compat_ioctl.c instead of splitting it over compat.c and compat_ioctl.c. This also allows to get rid of ioctl32.h Signed-off-by: Christoph Hellwig <hch@lst.de> Looks-good-to: Andi Kleen <ak@suse.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
039b6b3ed8
commit
6272e26679
@@ -1,17 +0,0 @@
|
||||
#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,
|
||||
unsigned long, struct file *);
|
||||
|
||||
struct ioctl_trans {
|
||||
unsigned long cmd;
|
||||
ioctl_trans_handler_t handler;
|
||||
struct ioctl_trans *next;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user