mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -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 <[email protected]> Looks-good-to: Andi Kleen <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
039b6b3ed8
commit
6272e26679
5 changed files with 166 additions and 202 deletions
|
|
@ -9,8 +9,6 @@
|
|||
* 2 of the License, or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#include <linux/ioctl32.h>
|
||||
|
||||
struct super_block;
|
||||
|
||||
/*
|
||||
|
|
@ -41,14 +39,6 @@ static inline int sb_is_blkdev_sb(struct super_block *sb)
|
|||
*/
|
||||
extern void __init chrdev_init(void);
|
||||
|
||||
/*
|
||||
* compat_ioctl.c
|
||||
*/
|
||||
#ifdef CONFIG_COMPAT
|
||||
extern struct ioctl_trans ioctl_start[];
|
||||
extern int ioctl_table_size;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* namespace.c
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue