summaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-xp/xp_uv.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-13 10:24:56 +0300
committerTony Luck <tony.luck@intel.com>2019-08-16 21:33:56 +0300
commit9726bfcdb977d6f78074fcc5dd23003b450c1f35 (patch)
treef92aef1d51ff426b7a8b47d28313e84eda9dafc5 /drivers/misc/sgi-xp/xp_uv.c
parent0fef2532d2a17100e57fad0569555536cac47eda (diff)
downloadlinux-9726bfcdb977d6f78074fcc5dd23003b450c1f35.tar.xz
misc/sgi-xp: remove SGI SN2 support
Note this also marks xp broken on ia64 now, as the UV support, which was disable in generic kernels before actually never compiled due to undefined uv_gpa_to_soc_phys_ram and uv_gpa_in_mmr_space symbols since at least commit c2c9f1157414 ("x86: uv: update XPC to handle updated BIOS interface"). Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lkml.kernel.org/r/20190813072514.23299-11-hch@lst.de Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/misc/sgi-xp/xp_uv.c')
-rw-r--r--drivers/misc/sgi-xp/xp_uv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/sgi-xp/xp_uv.c b/drivers/misc/sgi-xp/xp_uv.c
index a0d093274dc0..5e335e93459c 100644
--- a/drivers/misc/sgi-xp/xp_uv.c
+++ b/drivers/misc/sgi-xp/xp_uv.c
@@ -151,9 +151,10 @@ xp_init_uv(void)
BUG_ON(!is_uv());
xp_max_npartitions = XP_MAX_NPARTITIONS_UV;
+#ifdef CONFIG_X86
xp_partition_id = sn_partition_id;
xp_region_size = sn_region_size;
-
+#endif
xp_pa = xp_pa_uv;
xp_socket_pa = xp_socket_pa_uv;
xp_remote_memcpy = xp_remote_memcpy_uv;