Commit:     95ba71f76f1cce550cb2e2b345a204d4a926d29c
Parent:     1d28bff7c4ea138032b44d514351b7caceb9fba5
Author:     Greg Ungerer <[EMAIL PROTECTED]>
AuthorDate: Thu May 17 06:22:41 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sun May 20 19:36:14 2007 +0100

    [ARM] 4388/1: no need for arm/mm mmap range checks for non-mmu
    We don't need valid_phys_addr_range() or valid_mmap_phys_addr_range()
    for the !CONFIG_MMU case.
    Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
 include/asm-arm/io.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h
index 8261ff9..1d3caa4 100644
--- a/include/asm-arm/io.h
+++ b/include/asm-arm/io.h
@@ -259,9 +259,11 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem 
 #define BIOVEC_MERGEABLE(vec1, vec2)   \
        ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2)))
+#ifdef CONFIG_MMU
 extern int valid_phys_addr_range(unsigned long addr, size_t size);
 extern int valid_mmap_phys_addr_range(unsigned long pfn, size_t size);
  * Convert a physical pointer to a virtual kernel pointer for /dev/mem
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to