summaryrefslogtreecommitdiff
path: root/arch/sh/mm/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 12:51:01 +0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 12:51:01 +0400
commit15f57a29a19ad0dbb468363cb617b06f71f6de92 (patch)
tree51a8a889603143abd896f14b6a64511e08d7a5cf /arch/sh/mm/Makefile
parentc7afb7e5cbc4baa781ec82731fc9fe9039efee22 (diff)
downloadlinux-15f57a29a19ad0dbb468363cb617b06f71f6de92.tar.xz
sh: Add support for cacheline poking through debugfs.
A simple debugging aid for easier visibility of the respective cachelines. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Makefile')
-rw-r--r--arch/sh/mm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile
index da37d86e65eb..3ffd7f68c0a2 100644
--- a/arch/sh/mm/Makefile
+++ b/arch/sh/mm/Makefile
@@ -17,6 +17,10 @@ mmu-$(CONFIG_MMU) := fault.o clear_page.o copy_page.o tlb-flush.o \
obj-y += $(mmu-y)
+ifdef CONFIG_DEBUG_FS
+obj-$(CONFIG_CPU_SH4) += cache-debugfs.o
+endif
+
ifdef CONFIG_MMU
obj-$(CONFIG_CPU_SH3) += tlb-sh3.o
obj-$(CONFIG_CPU_SH4) += tlb-sh4.o pg-sh4.o