mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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:
parent
039b6b3ed8
commit
6272e26679
5 changed files with 166 additions and 202 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue