Commit:     3fee37c1e2579ed3d6090f690e5fd8cf7fa3bb44
Parent:     7b3d9545f9ac8b31528dd2d6d8ec8d19922917b8
Author:     Akos Maroy <[EMAIL PROTECTED]>
AuthorDate: Sun Jan 6 11:15:55 2008 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sun Jan 6 10:26:06 2008 -0800

    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 ( or other
    32-bit games with joysticks.
    this is a known issue, and already raised several times:

    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 <[EMAIL PROTECTED]>
    Acked-by: Christoph Hellwig <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 fs/compat_ioctl.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index e8b7c3a..da8cb3b 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -10,6 +10,8 @@
  * ioctls.
+#include <linux/joystick.h>
 #include <linux/types.h>
 #include <linux/compat.h>
 #include <linux/kernel.h>
+/* joystick */
 /* now things that need handlers */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to