]> Git Repo - linux.git/blobdiff - drivers/clocksource/timer-imx-sysctr.c
platform/x86: amd-pmc: Move to later in the suspend process
[linux.git] / drivers / clocksource / timer-imx-sysctr.c
index 18b90fc56bfc66081354adbdf330b910815b9a01..55a8e198d2a19cced612e190370317a024c93d85 100644 (file)
@@ -20,8 +20,8 @@
 
 #define SYS_CTR_CLK_DIV                0x3
 
-static void __iomem *sys_ctr_base;
-static u32 cmpcr;
+static void __iomem *sys_ctr_base __ro_after_init;
+static u32 cmpcr __ro_after_init;
 
 static void sysctr_timer_enable(bool enable)
 {
@@ -119,7 +119,7 @@ static struct timer_of to_sysctr = {
 
 static void __init sysctr_clockevent_init(void)
 {
-       to_sysctr.clkevt.cpumask = cpumask_of(0);
+       to_sysctr.clkevt.cpumask = cpu_possible_mask;
 
        clockevents_config_and_register(&to_sysctr.clkevt,
                                        timer_of_rate(&to_sysctr),
This page took 0.033606 seconds and 4 git commands to generate.