Merge branch 'tracking-armlt-tc2-cpufreq' into lsk-3.10-vexpress
[firefly-linux-kernel-4.4.55.git] / arch / arm / kernel / Makefile
index 5f3338eacad21024a75d7b1e7480f3fc58e804b8..dd9d90ab65d0cd7975031c0d67bf2cb8d1aefbb7 100644 (file)
@@ -82,6 +82,9 @@ obj-$(CONFIG_DEBUG_LL)        += debug.o
 obj-$(CONFIG_EARLY_PRINTK)     += early_printk.o
 
 obj-$(CONFIG_ARM_VIRT_EXT)     += hyp-stub.o
-obj-$(CONFIG_ARM_PSCI)         += psci.o
+ifeq ($(CONFIG_ARM_PSCI),y)
+obj-y                          += psci.o
+obj-$(CONFIG_SMP)              += psci_smp.o
+endif
 
 extra-y := $(head-y) vmlinux.lds