forked from luck/tmp_suning_uos_patched
MIPS: Initialize an atomic_t properly with ATOMIC_INIT(0).
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1008/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
d5d3102b9a
commit
5255366403
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user