]> git.baikalelectronics.ru Git - kernel.git/commit
fix: using joysticks in 32 bit applications on 64 bit systems
authorAkos Maroy <darkeye@tyrell.hu>
Sun, 6 Jan 2008 10:15:55 +0000 (11:15 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 6 Jan 2008 18:26:06 +0000 (10:26 -0800)
commit488dbfbbb1b2b825b74bec692540f53e93e3cb6c
tree25e6bf5beab2207c97644ff8f64672fb868d0b18
parent6921c89c020f04328022176803595e80908c93b2
fix: using joysticks in 32 bit applications on 64 bit systems

unfortunately 32 bit apps don't see the joysticks on a 64 bit system.
this prevents one playing X-Plane (http://www.x-plane.com/) or other
32-bit games with joysticks.

this is a known issue, and already raised several times:

 http://readlist.com/lists/vger.kernel.org/linux-kernel/28/144411.html

 http://www.brettcsmith.org/wiki/wiki.cgi?action=browse&diff=1&id=OzyComputer/Joystick

unfortunately this is still not fixed in the mainline kernel.

it would be nice to have this fixed, so that people can play these games
without having to patch their kernel.

the following patch solves the problem on 2.6.22.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/compat_ioctl.c