generalize asm-generic/ioctl.h to allow overriding values
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 29 Apr 2008 08:02:54 +0000 (01:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:24 +0000 (08:06 -0700)
commit10521bd9f74be94b83cfcf639601ece1c8e4faad
tree5e121dbaae4d5e038c0c1ea638c9635970dd5afa
parent098ef1c0ea7b1b3ff9d89364af5ebc5b672cf932
generalize asm-generic/ioctl.h to allow overriding values

In the spirit of a number of other asm-generic header files,
generalize asm-generic/ioctl.h to allow arch-specific ioctl.h headers
to simply override _IOC_SIZEBITS and/or _IOC_DIRBITS before including
this header file, allowing a number of ioctl.h header files to be
shortened considerably.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/ioctl.h