diff options
| -rw-r--r-- | arch/x86/kernel/apic/x2apic_uv_x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 0d57bb9079c9..c0b694810ff4 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c | |||
| @@ -920,9 +920,8 @@ static __init void uv_rtc_init(void) | |||
| 920 | /* | 920 | /* |
| 921 | * percpu heartbeat timer | 921 | * percpu heartbeat timer |
| 922 | */ | 922 | */ |
| 923 | static void uv_heartbeat(unsigned long ignored) | 923 | static void uv_heartbeat(struct timer_list *timer) |
| 924 | { | 924 | { |
| 925 | struct timer_list *timer = &uv_scir_info->timer; | ||
| 926 | unsigned char bits = uv_scir_info->state; | 925 | unsigned char bits = uv_scir_info->state; |
| 927 | 926 | ||
| 928 | /* Flip heartbeat bit: */ | 927 | /* Flip heartbeat bit: */ |
| @@ -947,7 +946,7 @@ static int uv_heartbeat_enable(unsigned int cpu) | |||
| 947 | struct timer_list *timer = &uv_cpu_scir_info(cpu)->timer; | 946 | struct timer_list *timer = &uv_cpu_scir_info(cpu)->timer; |
| 948 | 947 | ||
| 949 | uv_set_cpu_scir_bits(cpu, SCIR_CPU_HEARTBEAT|SCIR_CPU_ACTIVITY); | 948 | uv_set_cpu_scir_bits(cpu, SCIR_CPU_HEARTBEAT|SCIR_CPU_ACTIVITY); |
| 950 | setup_pinned_timer(timer, uv_heartbeat, cpu); | 949 | timer_setup(timer, uv_heartbeat, TIMER_PINNED); |
| 951 | timer->expires = jiffies + SCIR_CPU_HB_INTERVAL; | 950 | timer->expires = jiffies + SCIR_CPU_HB_INTERVAL; |
| 952 | add_timer_on(timer, cpu); | 951 | add_timer_on(timer, cpu); |
| 953 | uv_cpu_scir_info(cpu)->enabled = 1; | 952 | uv_cpu_scir_info(cpu)->enabled = 1; |
