diff options
author | Matt Fleming <matt@console-pimps.org> | 2010-03-29 02:24:54 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-29 02:24:54 -0400 |
commit | 6ae6650232ddcf2f50e8817acd63cde37cf1d093 (patch) | |
tree | 0f60b6501f0c5efd2fdf4c997b54004bc91f3df1 /arch/sh/mm/Makefile | |
parent | 4bea3418c737891894b9d3d3e9f8bbd67d66fa38 (diff) |
sh: tlb debugfs support.
Export the status of the utlb and itlb entries through debugfs.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Makefile')
-rw-r--r-- | arch/sh/mm/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index 3dc8a8a63822..c73018a9972c 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile | |||
@@ -18,13 +18,14 @@ mmu-$(CONFIG_MMU) := extable_$(BITS).o fault_$(BITS).o \ | |||
18 | ioremap.o kmap.o pgtable.o tlbflush_$(BITS).o | 18 | ioremap.o kmap.o pgtable.o tlbflush_$(BITS).o |
19 | 19 | ||
20 | obj-y += $(mmu-y) | 20 | obj-y += $(mmu-y) |
21 | obj-$(CONFIG_DEBUG_FS) += asids-debugfs.o | ||
22 | 21 | ||
23 | ifdef CONFIG_DEBUG_FS | 22 | debugfs-y := asids-debugfs.o |
24 | obj-$(CONFIG_CPU_SH4) += cache-debugfs.o | 23 | ifndef CONFIG_CACHE_OFF |
24 | debugfs-$(CONFIG_CPU_SH4) += cache-debugfs.o | ||
25 | endif | 25 | endif |
26 | 26 | ||
27 | ifdef CONFIG_MMU | 27 | ifdef CONFIG_MMU |
28 | debugfs-$(CONFIG_CPU_SH4) += tlb-debugfs.o | ||
28 | tlb-$(CONFIG_CPU_SH3) := tlb-sh3.o | 29 | tlb-$(CONFIG_CPU_SH3) := tlb-sh3.o |
29 | tlb-$(CONFIG_CPU_SH4) := tlb-sh4.o tlb-urb.o | 30 | tlb-$(CONFIG_CPU_SH4) := tlb-sh4.o tlb-urb.o |
30 | tlb-$(CONFIG_CPU_SH5) := tlb-sh5.o | 31 | tlb-$(CONFIG_CPU_SH5) := tlb-sh5.o |
@@ -32,6 +33,7 @@ tlb-$(CONFIG_CPU_HAS_PTEAEX) := tlb-pteaex.o tlb-urb.o | |||
32 | obj-y += $(tlb-y) | 33 | obj-y += $(tlb-y) |
33 | endif | 34 | endif |
34 | 35 | ||
36 | obj-$(CONFIG_DEBUG_FS) += $(debugfs-y) | ||
35 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | 37 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
36 | obj-$(CONFIG_PMB) += pmb.o | 38 | obj-$(CONFIG_PMB) += pmb.o |
37 | obj-$(CONFIG_NUMA) += numa.o | 39 | obj-$(CONFIG_NUMA) += numa.o |