From: Barry Song Date: Fri, 23 Sep 2011 05:51:28 +0000 (-0700) Subject: ARM: CSR: timer: do not initialise statics to 0 or NULL X-Git-Tag: firefly_0821_release~3680^2~4242^2~6^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f70fc57e52fcd6c063eb378c0c370817cf00659e;p=firefly-linux-kernel-4.4.55.git ARM: CSR: timer: do not initialise statics to 0 or NULL Signed-off-by: Barry Song --- diff --git a/arch/arm/mach-prima2/timer.c b/arch/arm/mach-prima2/timer.c index ed7ec48d11da..225ed3b8cee3 100644 --- a/arch/arm/mach-prima2/timer.c +++ b/arch/arm/mach-prima2/timer.c @@ -133,7 +133,7 @@ static struct irqaction sirfsoc_timer_irq = { /* Overwrite weak default sched_clock with more precise one */ unsigned long long notrace sched_clock(void) { - static int is_mapped = 0; + static int is_mapped; /* * sched_clock is called earlier than .init of sys_timer