diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-31 12:18:43 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-08-22 17:46:38 -0400 |
commit | 3165c846a2aa7ce25d5f1db6be9960ebeeb9bb0b (patch) | |
tree | d36ddc166218d71f06a33be03559272ded98a27b /arch/mips | |
parent | a389d084adf08beccb1a457e6f96873f2d557685 (diff) |
MIPS: introduce CPU_GENERIC_DUMP_TLB
Allows us not to duplicate more lines in arch/mips/lib/Makefile.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/3329/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 4 | ||||
-rw-r--r-- | arch/mips/lib/Makefile | 21 |
2 files changed, 5 insertions, 20 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 8190bdcd5a6a..b805ccd72d98 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1880,6 +1880,10 @@ config SIBYTE_DMA_PAGEOPS | |||
1880 | config CPU_HAS_PREFETCH | 1880 | config CPU_HAS_PREFETCH |
1881 | bool | 1881 | bool |
1882 | 1882 | ||
1883 | config CPU_GENERIC_DUMP_TLB | ||
1884 | bool | ||
1885 | default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX) | ||
1886 | |||
1883 | choice | 1887 | choice |
1884 | prompt "MIPS MT options" | 1888 | prompt "MIPS MT options" |
1885 | 1889 | ||
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index 399a50a541d4..c4a82e841c73 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile | |||
@@ -8,28 +8,9 @@ lib-y += csum_partial.o delay.o memcpy.o memset.o \ | |||
8 | obj-y += iomap.o | 8 | obj-y += iomap.o |
9 | obj-$(CONFIG_PCI) += iomap-pci.o | 9 | obj-$(CONFIG_PCI) += iomap-pci.o |
10 | 10 | ||
11 | obj-$(CONFIG_CPU_LOONGSON2) += dump_tlb.o | 11 | obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o |
12 | obj-$(CONFIG_CPU_MIPS32) += dump_tlb.o | ||
13 | obj-$(CONFIG_CPU_MIPS64) += dump_tlb.o | ||
14 | obj-$(CONFIG_CPU_NEVADA) += dump_tlb.o | ||
15 | obj-$(CONFIG_CPU_R10000) += dump_tlb.o | ||
16 | obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o | 12 | obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o |
17 | obj-$(CONFIG_CPU_R4300) += dump_tlb.o | ||
18 | obj-$(CONFIG_CPU_R4X00) += dump_tlb.o | ||
19 | obj-$(CONFIG_CPU_R5000) += dump_tlb.o | ||
20 | obj-$(CONFIG_CPU_R5432) += dump_tlb.o | ||
21 | obj-$(CONFIG_CPU_R5500) += dump_tlb.o | ||
22 | obj-$(CONFIG_CPU_R6000) += | ||
23 | obj-$(CONFIG_CPU_R8000) += | ||
24 | obj-$(CONFIG_CPU_RM7000) += dump_tlb.o | ||
25 | obj-$(CONFIG_CPU_RM9000) += dump_tlb.o | ||
26 | obj-$(CONFIG_CPU_SB1) += dump_tlb.o | ||
27 | obj-$(CONFIG_CPU_TX39XX) += r3k_dump_tlb.o | 13 | obj-$(CONFIG_CPU_TX39XX) += r3k_dump_tlb.o |
28 | obj-$(CONFIG_CPU_TX49XX) += dump_tlb.o | ||
29 | obj-$(CONFIG_CPU_VR41XX) += dump_tlb.o | ||
30 | obj-$(CONFIG_CPU_CAVIUM_OCTEON) += dump_tlb.o | ||
31 | obj-$(CONFIG_CPU_XLR) += dump_tlb.o | ||
32 | obj-$(CONFIG_CPU_XLP) += dump_tlb.o | ||
33 | 14 | ||
34 | # libgcc-style stuff needed in the kernel | 15 | # libgcc-style stuff needed in the kernel |
35 | obj-y += ashldi3.o ashrdi3.o cmpdi2.o lshrdi3.o ucmpdi2.o | 16 | obj-y += ashldi3.o ashrdi3.o cmpdi2.o lshrdi3.o ucmpdi2.o |