diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-04-02 13:13:19 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-19 04:14:19 +0200 |
commit | f13b68e8174657b0253ca7cf263521ed3ac19125 (patch) | |
tree | e6f6513ebc91b2517568b71ef93bc1bc4237aef6 /arch/mips/mm/highmem.c | |
parent | 41d4f0e61283f6807553c129416fc20766a7043f (diff) | |
download | op-kernel-dev-f13b68e8174657b0253ca7cf263521ed3ac19125.zip op-kernel-dev-f13b68e8174657b0253ca7cf263521ed3ac19125.tar.gz |
[MIPS] Fix CONFIG_LIMITED_DMA build.
This fix a build error for the Momentum Jaguar ATX eval board.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/highmem.c')
-rw-r--r-- | arch/mips/mm/highmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/highmem.c b/arch/mips/mm/highmem.c index 1f7b37b..0c54437 100644 --- a/arch/mips/mm/highmem.c +++ b/arch/mips/mm/highmem.c @@ -83,6 +83,7 @@ void __kunmap_atomic(void *kvaddr, enum km_type type) preempt_check_resched(); } +#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. @@ -101,6 +102,7 @@ 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) { |