X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fioctl.c;h=64ffa90a29d9adc51fc8380c140026e0b56d2c19;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=12f3e71d29ba401196a3c1f40768467547ddf448;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/ioctl.c b/fs/ioctl.c index 12f3e71d2..64ffa90a2 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -4,11 +4,13 @@ * Copyright (C) 1991, 1992 Linus Torvalds */ +#include #include #include #include #include #include +#include #include #include #include @@ -183,3 +185,11 @@ asmlinkage long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) out: return error; } + +/* + * Platforms implementing 32 bit compatibility ioctl handlers in + * modules need this exported + */ +#ifdef CONFIG_COMPAT +EXPORT_SYMBOL(sys_ioctl); +#endif