diff options
author | Dimitri Sivanich <sivanich@sgi.com> | 2009-10-14 10:22:57 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-14 12:27:11 -0400 |
commit | 4a4de9c7d7111ce4caf422b856756125d8304f9d (patch) | |
tree | a34097664f419eeb27f0ecc719b7c882f56afece /arch/x86/kernel/uv_time.c | |
parent | d5991ff297ad2f7e2698eefcd8269df5ecec150f (diff) |
x86: UV RTC: Rename generic_interrupt to x86_platform_ipi
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
LKML-Reference: <20091014142257.GE11048@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/uv_time.c')
-rw-r--r-- | arch/x86/kernel/uv_time.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/uv_time.c b/arch/x86/kernel/uv_time.c index 25564508453..3da7b1d8bfd 100644 --- a/arch/x86/kernel/uv_time.c +++ b/arch/x86/kernel/uv_time.c | |||
@@ -91,7 +91,7 @@ static void uv_rtc_send_IPI(int cpu) | |||
91 | pnode = uv_apicid_to_pnode(apicid); | 91 | pnode = uv_apicid_to_pnode(apicid); |
92 | val = (1UL << UVH_IPI_INT_SEND_SHFT) | | 92 | val = (1UL << UVH_IPI_INT_SEND_SHFT) | |
93 | (apicid << UVH_IPI_INT_APIC_ID_SHFT) | | 93 | (apicid << UVH_IPI_INT_APIC_ID_SHFT) | |
94 | (GENERIC_INTERRUPT_VECTOR << UVH_IPI_INT_VECTOR_SHFT); | 94 | (X86_PLATFORM_IPI_VECTOR << UVH_IPI_INT_VECTOR_SHFT); |
95 | 95 | ||
96 | uv_write_global_mmr64(pnode, UVH_IPI_INT, val); | 96 | uv_write_global_mmr64(pnode, UVH_IPI_INT, val); |
97 | } | 97 | } |
@@ -116,7 +116,7 @@ static int uv_setup_intr(int cpu, u64 expires) | |||
116 | uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED0_ALIAS, | 116 | uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED0_ALIAS, |
117 | UVH_EVENT_OCCURRED0_RTC1_MASK); | 117 | UVH_EVENT_OCCURRED0_RTC1_MASK); |
118 | 118 | ||
119 | val = (GENERIC_INTERRUPT_VECTOR << UVH_RTC1_INT_CONFIG_VECTOR_SHFT) | | 119 | val = (X86_PLATFORM_IPI_VECTOR << UVH_RTC1_INT_CONFIG_VECTOR_SHFT) | |
120 | ((u64)cpu_physical_id(cpu) << UVH_RTC1_INT_CONFIG_APIC_ID_SHFT); | 120 | ((u64)cpu_physical_id(cpu) << UVH_RTC1_INT_CONFIG_APIC_ID_SHFT); |
121 | 121 | ||
122 | /* Set configuration */ | 122 | /* Set configuration */ |
@@ -364,7 +364,7 @@ static __init int uv_rtc_setup_clock(void) | |||
364 | { | 364 | { |
365 | int rc; | 365 | int rc; |
366 | 366 | ||
367 | if (!uv_rtc_enable || !is_uv_system() || generic_interrupt_extension) | 367 | if (!uv_rtc_enable || !is_uv_system() || x86_platform_ipi_callback) |
368 | return -ENODEV; | 368 | return -ENODEV; |
369 | 369 | ||
370 | clocksource_uv.mult = clocksource_hz2mult(sn_rtc_cycles_per_second, | 370 | clocksource_uv.mult = clocksource_hz2mult(sn_rtc_cycles_per_second, |
@@ -385,7 +385,7 @@ static __init int uv_rtc_setup_clock(void) | |||
385 | if (rc) | 385 | if (rc) |
386 | goto error; | 386 | goto error; |
387 | 387 | ||
388 | generic_interrupt_extension = uv_rtc_interrupt; | 388 | x86_platform_ipi_callback = uv_rtc_interrupt; |
389 | 389 | ||
390 | clock_event_device_uv.mult = div_sc(sn_rtc_cycles_per_second, | 390 | clock_event_device_uv.mult = div_sc(sn_rtc_cycles_per_second, |
391 | NSEC_PER_SEC, clock_event_device_uv.shift); | 391 | NSEC_PER_SEC, clock_event_device_uv.shift); |
@@ -398,7 +398,7 @@ static __init int uv_rtc_setup_clock(void) | |||
398 | 398 | ||
399 | rc = schedule_on_each_cpu(uv_rtc_register_clockevents); | 399 | rc = schedule_on_each_cpu(uv_rtc_register_clockevents); |
400 | if (rc) { | 400 | if (rc) { |
401 | generic_interrupt_extension = NULL; | 401 | x86_platform_ipi_callback = NULL; |
402 | uv_rtc_deallocate_timers(); | 402 | uv_rtc_deallocate_timers(); |
403 | goto error; | 403 | goto error; |
404 | } | 404 | } |