summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/Makefile
diff options
context:
space:
mode:
authorJustin Chen <justin.chen@broadcom.com>2016-12-07 17:16:26 -0800
committerRalf Baechle <ralf@linux-mips.org>2017-01-03 16:34:46 +0100
commitef462f3b64e9fb0c8e1cd5d60f5bd7f13ac2156d (patch)
tree173a0ccbec594be974a620d2bf23c90d506beaaa /arch/mips/kernel/Makefile
parent0014dea6b71ae3e0384c3358f632b4728c3d432e (diff)
downloadlinux-ef462f3b64e9fb0c8e1cd5d60f5bd7f13ac2156d.tar.gz
linux-ef462f3b64e9fb0c8e1cd5d60f5bd7f13ac2156d.tar.bz2
linux-ef462f3b64e9fb0c8e1cd5d60f5bd7f13ac2156d.zip
MIPS: Add cacheinfo support
Add cacheinfo support for MIPS architectures. Use information from the cpuinfo_mips struct to populate the cacheinfo struct. This allows an architecture agnostic approach, however this also means if cache information is not properly populated within the cpuinfo_mips struct, there is nothing we can do. (I.E. c-r3k.c) Signed-off-by: Justin Chen <justin.chen@broadcom.com> Cc: f.fainelli@gmail.com Cc: linux-mips@linux-mips.org Cc: bcm-kernel-feedback-list@broadcom.com Patchwork: https://patchwork.linux-mips.org/patch/14650/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/Makefile')
-rw-r--r--arch/mips/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index 4a603a3ea657..904a9c48553a 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -7,7 +7,7 @@ extra-y := head.o vmlinux.lds
obj-y += cpu-probe.o branch.o elf.o entry.o genex.o idle.o irq.o \
process.o prom.o ptrace.o reset.o setup.o signal.o \
syscall.o time.o topology.o traps.o unaligned.o watch.o \
- vdso.o
+ vdso.o cacheinfo.o
ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_ftrace.o = -pg