• Ingo Molnar's avatar
    Fix rfkill IRQ flags. · 360737d9
    Ingo Molnar authored
    [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 cf4328cd
     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: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    360737d9
rfkill-input.c 4.05 KB