Fix rfkill IRQ flags.
commit360737d98a12b98d95aa3ebc2c4fbbf68a6a9280
authorIngo Molnar <mingo@elte.hu>
Wed, 18 Jul 2007 09:45:14 +0000 (18 02:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:27 +0000 (9 14:27 -0700)
tree8f9e2d06b9e20e1d54a703d23fc0556ac31ac9b2
parent9bff1948de46273efed6801db7e6b822b88b6f9a
Fix rfkill IRQ flags.

[RFKILL]: fix net/rfkill/rfkill-input.c bug on 64-bit systems

Subject: [patch] net/input: fix net/rfkill/rfkill-input.c bug on 64-bit systems

this recent commit:

 commit cf4328cd949c2086091c62c5685f1580fe9b55e4
 Author: Ivo van Doorn <IvDoorn@gmail.com>
 Date:   Mon May 7 00:34:20 2007 -0700

     [NET]: rfkill: add support for input key to control wireless radio

added this 64-bit bug:

        ....
unsigned int flags;

  spin_lock_irqsave(&task->lock, flags);
        ....

irq 'flags' must be unsigned long, not unsigned int. The -rt tree has
strict checks about this on 64-bit so this triggered a build failure.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/rfkill/rfkill-input.c