.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * System Abstraction Layer (SAL) interface routines. |
---|
3 | 4 | * |
---|
.. | .. |
---|
17 | 18 | #include <asm/page.h> |
---|
18 | 19 | #include <asm/sal.h> |
---|
19 | 20 | #include <asm/pal.h> |
---|
| 21 | +#include <asm/xtp.h> |
---|
20 | 22 | |
---|
21 | 23 | __cacheline_aligned DEFINE_SPINLOCK(sal_lock); |
---|
22 | 24 | unsigned long sal_platform_features; |
---|
.. | .. |
---|
109 | 111 | sal_revision = SAL_VERSION_CODE(2, 8); |
---|
110 | 112 | sal_version = SAL_VERSION_CODE(0, 0); |
---|
111 | 113 | } |
---|
112 | | - |
---|
113 | | - if (ia64_platform_is("sn2") && (sal_revision == SAL_VERSION_CODE(2, 9))) |
---|
114 | | - /* |
---|
115 | | - * SGI Altix has hard-coded version 2.9 in their prom |
---|
116 | | - * but they actually implement 3.2, so let's fix it here. |
---|
117 | | - */ |
---|
118 | | - sal_revision = SAL_VERSION_CODE(3, 2); |
---|
119 | 114 | } |
---|
120 | 115 | |
---|
121 | 116 | static void __init |
---|
.. | .. |
---|
255 | 250 | * Send ourselves a timer interrupt, wait until it's reported, and see |
---|
256 | 251 | * if SAL_CACHE_FLUSH drops it. |
---|
257 | 252 | */ |
---|
258 | | - platform_send_ipi(cpu, IA64_TIMER_VECTOR, IA64_IPI_DM_INT, 0); |
---|
| 253 | + ia64_send_ipi(cpu, IA64_TIMER_VECTOR, IA64_IPI_DM_INT, 0); |
---|
259 | 254 | |
---|
260 | 255 | while (!ia64_get_irr(IA64_TIMER_VECTOR)) |
---|
261 | 256 | cpu_relax(); |
---|