From: Arik Nemtsov Date: Sun, 12 May 2013 09:35:30 +0000 (+0300) Subject: wlcore: hold jiffies in unsigned long X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2baf53c6e35ea25aaa21486dab023eb3d901611e;p=openwrt%2Fstaging%2Fblogic.git wlcore: hold jiffies in unsigned long u32 can be incorrect (too small) for some architectures. Signed-off-by: Arik Nemtsov Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- diff --git a/drivers/net/wireless/ti/wlcore/ps.c b/drivers/net/wireless/ti/wlcore/ps.c index 9654577efd01..98066d40c2ad 100644 --- a/drivers/net/wireless/ti/wlcore/ps.c +++ b/drivers/net/wireless/ti/wlcore/ps.c @@ -110,7 +110,7 @@ int wl1271_ps_elp_wakeup(struct wl1271 *wl) DECLARE_COMPLETION_ONSTACK(compl); unsigned long flags; int ret; - u32 start_time = jiffies; + unsigned long start_time = jiffies; bool pending = false; /*