Commit 52553664 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Ralf Baechle

MIPS: Initialize an atomic_t properly with ATOMIC_INIT(0).

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1008/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d5d3102b
......@@ -182,7 +182,7 @@ static int vpemask[2][8] = {
{0, 0, 0, 0, 0, 0, 0, 1}
};
int tcnoprog[NR_CPUS];
static atomic_t idle_hook_initialized = {0};
static atomic_t idle_hook_initialized = ATOMIC_INIT(0);
static int clock_hang_reported[NR_CPUS];
#endif /* CONFIG_SMTC_IDLE_HOOK_DEBUG */
......
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