From: Mathieu BĂ©rard Date: Thu, 2 Nov 2006 17:47:53 +0000 (+0000) Subject: * Fix 'flags': it's an unsigned long. X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=6f0a101e9f2699b91ae8c082ccf50961f4db3d02;p=omnibook.git * Fix 'flags': it's an unsigned long. --- diff --git a/nbsmi.c b/nbsmi.c index c703fdd..99c54d9 100644 --- a/nbsmi.c +++ b/nbsmi.c @@ -94,7 +94,7 @@ extern const struct pci_device_id lpc_bridge_table[]; static inline u32 ati_do_smi_call( u16 function) { - u32 flags; + unsigned long flags; u32 retval = 0; spin_lock_irqsave(&smi_spinlock,flags); @@ -132,7 +132,8 @@ static inline u32 ati_do_smi_call( u16 function) static inline u32 intel_do_smi_call(u16 function) { - u32 state, sci_en, flags; + u32 state, sci_en; + unsigned long flags; u32 retval = 0; spin_lock_irqsave(&smi_spinlock,flags);