aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/uv_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/uv_time.c')
-rw-r--r--arch/x86/kernel/uv_time.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/uv_time.c b/arch/x86/kernel/uv_time.c
index 6f8e3256ab2a..2ffb6c53326e 100644
--- a/arch/x86/kernel/uv_time.c
+++ b/arch/x86/kernel/uv_time.c
@@ -24,6 +24,8 @@
24#include <asm/uv/uv_hub.h> 24#include <asm/uv/uv_hub.h>
25#include <asm/uv/bios.h> 25#include <asm/uv/bios.h>
26#include <asm/uv/uv.h> 26#include <asm/uv/uv.h>
27#include <asm/apic.h>
28#include <asm/cpu.h>
27 29
28#define RTC_NAME "sgi_rtc" 30#define RTC_NAME "sgi_rtc"
29 31
@@ -84,7 +86,7 @@ static void uv_rtc_send_IPI(int cpu)
84 unsigned long apicid, val; 86 unsigned long apicid, val;
85 int pnode; 87 int pnode;
86 88
87 apicid = per_cpu(x86_cpu_to_apicid, cpu); 89 apicid = cpu_physical_id(cpu);
88 pnode = uv_apicid_to_pnode(apicid); 90 pnode = uv_apicid_to_pnode(apicid);
89 val = (1UL << UVH_IPI_INT_SEND_SHFT) | 91 val = (1UL << UVH_IPI_INT_SEND_SHFT) |
90 (apicid << UVH_IPI_INT_APIC_ID_SHFT) | 92 (apicid << UVH_IPI_INT_APIC_ID_SHFT) |