Commit 621692cb authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt

powerpc/time: Fix some style issues

Fix some formatting issues and use the DECREMENTER_MAX
define instead of 0x7fffffff.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 68568add
......@@ -636,9 +636,9 @@ static void generic_suspend_disable_irqs(void)
* with suspending.
*/
set_dec(0x7fffffff);
set_dec(DECREMENTER_MAX);
local_irq_disable();
set_dec(0x7fffffff);
set_dec(DECREMENTER_MAX);
}
static void generic_suspend_enable_irqs(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment