sgi-xp: support runtime selection of xp_max_npartitions
[firefly-linux-kernel-4.4.55.git] / drivers / misc / sgi-xp / Makefile
index b6e40a7958ce2227f45b66099c4a4e950c21ad7d..b50f29217813da0854b0d7b2b8ae86af31ac68d7 100644 (file)
@@ -3,7 +3,8 @@
 #
 
 obj-$(CONFIG_SGI_XP)           += xp.o
-xp-y                           := xp_main.o xp_nofault.o
+xp-y                           := xp_main.o xp_uv.o
+xp-$(CONFIG_IA64)              += xp_sn2.o xp_nofault.o
 
 obj-$(CONFIG_SGI_XP)           += xpc.o
 xpc-y                          := xpc_main.o xpc_channel.o xpc_partition.o