projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d4f0e
)
[MIPS] Fix CONFIG_LIMITED_DMA build.
author
Ralf Baechle
<ralf@linux-mips.org>
Sun, 2 Apr 2006 12:13:19 +0000
(13:13 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:19 +0000
(
04:14
+0200)
This fix a build error for the Momentum Jaguar ATX eval board.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/highmem.c
patch
|
blob
|
history
diff --git
a/arch/mips/mm/highmem.c
b/arch/mips/mm/highmem.c
index 1f7b37b38f5c740839208cf7f6728e3335fde7f0..0c544375b856be81235c121c0fca81f0290deeb0 100644
(file)
--- 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)
{