diff options
author | Franck Bui-Huu <fbuihuu@gmail.com> | 2007-05-07 18:01:53 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 14:28:31 +0100 |
commit | 599ca0fb639ba843da46c3ad1a53590763539750 (patch) | |
tree | f521a5ca50d70dda6a7fe42f5d5a9f1ef370c80b /arch/mips | |
parent | bef964e55ac128b1a6894c68171d0b22263449f8 (diff) | |
download | kernel_samsung_espresso10-599ca0fb639ba843da46c3ad1a53590763539750.zip kernel_samsung_espresso10-599ca0fb639ba843da46c3ad1a53590763539750.tar.gz kernel_samsung_espresso10-599ca0fb639ba843da46c3ad1a53590763539750.tar.bz2 |
[MIPS] Remove LIMITED_DMA support
This code was needed only by Jaguar ATX.
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 5 | ||||
-rw-r--r-- | arch/mips/mm/highmem.c | 2 | ||||
-rw-r--r-- | arch/mips/mm/init.c | 3 |
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 515c5a6..fa2c443 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -883,11 +883,6 @@ config GENERIC_ISA_DMA config I8259 bool -config LIMITED_DMA - bool - select HIGHMEM - select SYS_SUPPORTS_HIGHMEM - config MIPS_BONITO64 bool diff --git a/arch/mips/mm/highmem.c b/arch/mips/mm/highmem.c index 675502a..10dd2af 100644 --- a/arch/mips/mm/highmem.c +++ b/arch/mips/mm/highmem.c @@ -80,7 +80,6 @@ void __kunmap_atomic(void *kvaddr, enum km_type type) pagefault_enable(); } -#ifndef CONFIG_LIMITED_DMA /* * This is the same as kmap_atomic() but can map memory that doesn't * have a struct page associated with it. @@ -99,7 +98,6 @@ void *kmap_atomic_pfn(unsigned long pfn, enum km_type type) return (void*) vaddr; } -#endif /* CONFIG_LIMITED_DMA */ struct page *__kmap_atomic_to_page(void *ptr) { diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 2d1c2c0..4c80528 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c @@ -424,9 +424,6 @@ void __init mem_init(void) continue; } ClearPageReserved(page); -#ifdef CONFIG_LIMITED_DMA - set_page_address(page, lowmem_page_address(page)); -#endif init_page_count(page); __free_page(page); totalhigh_pages++; |