]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 11 Feb 2017 19:20:18 +0000 (00:50 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 11 Feb 2017 20:39:04 +0000 (21:39 +0100)
commit3d837bc01c2153565333b2ce71d613b6e7cc761c
tree134712518664a639813bd1325cb6e7b1cc2fa5f7
parent1e38da300e1e395a15048b0af1e5305bd91402f6
clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init

The object cyclecounter of type cyclecounter is only modified during
initialization in arch_counter_register. So it can be marked
__ro_after_init.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Cc: mark.rutland@arm.com
Cc: keescook@chromium.org
Cc: marc.zyngier@arm.com
Cc: daniel.lezcano@linaro.org
Cc: julia.lawall@lip6.fr
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1486840818-22214-1-git-send-email-bhumirks@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/arm_arch_timer.c