diff options
| author | Simon Horman <[email protected]> | 2007-05-10 11:51:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-10 13:34:05 -0700 |
| commit | d9de2622bd4fd29cab4ef7db66a9f916cb38e032 (patch) | |
| tree | 60bb4a5f186c776695e2c3bee6bc7dec996dfe45 /include/linux/kernelcapi.h | |
| parent | 643bd27298bdcc4e75b3e6a7ca459675eb5378c3 (diff) | |
Allow compat_ioctl.c to compile without CONFIG_NET
A small regression appears to have been introduced in the recent patch
"cleanup compat ioctl handling", which was included in Linus' tree after
2.6.20.
siocdevprivate_ioctl() is no longer defined if CONFIG_NET is undefined,
whereas previously it was a dummy function in this case.
This causes compilation with CONFIG_COMPAT but without CONFIG_NET to fail.
fs/compat_ioctl.c: In function `compat_sys_ioctl':
fs/compat_ioctl.c:3571: warning: implicit declaration of function `siocdevprivate_ioctl'
Cc: Christoph Hellwig <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/kernelcapi.h')
0 files changed, 0 insertions, 0 deletions