summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorMichael Abbott <michael@araneidae.co.uk>2008-08-12 15:09:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-12 16:07:31 -0700
commit5f8c3c8edff426fd87098f057688463107fcd9ce (patch)
treef0c12022b9513796cc74a389bc47d4b9b013d0e9 /drivers/of
parent666593137185dc0ad1ee8966c8d7fef8f4bb84b2 (diff)
downloadblackbird-op-linux-5f8c3c8edff426fd87098f057688463107fcd9ce.tar.gz
blackbird-op-linux-5f8c3c8edff426fd87098f057688463107fcd9ce.zip
Make ioctl.h compatible with userland
The attached patch seems to already exist in a number of branches -- it keeps popping up on Google for me, and is certainly already in Debian -- but is strangely absent from mainstream. The problem appears to be that the patched file ends up as part of the target toolchain, but unfortunately the gcc constant folding doesn't appear to eliminate the __invalid_size_argument_for_IOC value early enough. Certainly compiling C++ programs which use _IO... macros as constants fails without this patch. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud