From 6f0a101e9f2699b91ae8c082ccf50961f4db3d02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathieu=20B=C3=A9rard?= Date: Thu, 2 Nov 2006 17:47:53 +0000 Subject: [PATCH] * Fix 'flags': it's an unsigned long. --- nbsmi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.43.5