treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / oprofile / Makefile
blobe10f216d04220adc74fb8c6dbd8ca93d9a180134
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_OPROFILE) += oprofile.o
4 DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
5 oprof.o cpu_buffer.o buffer_sync.o \
6 event_buffer.o oprofile_files.o \
7 oprofilefs.o oprofile_stats.o \
8 timer_int.o )
10 oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
12 oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
13 oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
14 oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
15 oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
16 oprofile-$(CONFIG_CPU_XLR) += op_model_mipsxx.o
17 oprofile-$(CONFIG_CPU_LOONGSON2EF) += op_model_loongson2.o
18 oprofile-$(CONFIG_CPU_LOONGSON64) += op_model_loongson3.o