]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3a1157932e09d612780cf55b4f412c92d9209ca
tree5e121dbaae4d5e038c0c1ea638c9635970dd5afa
parentbc7cdbf5d4fcfc63242233ae7f42576b2c801b21
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