arm: tegra: pm: do not turn off PLL-P & PLL-A for LP1 on Tegra3
[linux-2.6.git] / arch / arm / oprofile / Makefile
index 6a94e54..b2215c6 100644 (file)
@@ -6,6 +6,8 @@ DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
                oprofilefs.o oprofile_stats.o \
                timer_int.o )
 
-oprofile-y                             := $(DRIVER_OBJS) common.o backtrace.o
-oprofile-$(CONFIG_CPU_XSCALE)          += op_model_xscale.o
+ifeq ($(CONFIG_HW_PERF_EVENTS),y)
+DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
+endif
 
+oprofile-y                             := $(DRIVER_OBJS) common.o