Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=412489af76b5c0e4029d4406d93554c22a88fc73
Commit:     412489af76b5c0e4029d4406d93554c22a88fc73
Parent:     7baced8a5923ce13d3d42d50a042a869092ab4e5
Author:     Catalin Marinas <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 25 14:16:47 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Thu Jan 25 16:35:26 2007 +0000

    [ARM] 4112/1: Only ioremap to supersections if DOMAIN_IO is zero
    
    Supersections do not have a field for the domain and it is always
    0. This patch prevents the creation of supersections during ioremap
    when DOMAIN_IO is not zero (i.e. !defined(CONFIG_IO_36)).
    
    Signed-off-by: Catalin Marinas <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/mm/ioremap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
index 251685f..0ac615c 100644
--- a/arch/arm/mm/ioremap.c
+++ b/arch/arm/mm/ioremap.c
@@ -300,7 +300,8 @@ __ioremap_pfn(unsigned long pfn, unsigned long offset, 
size_t size,
        addr = (unsigned long)area->addr;
 
 #ifndef CONFIG_SMP
-       if ((((cpu_architecture() >= CPU_ARCH_ARMv6) && (get_cr() & CR_XP)) ||
+       if (DOMAIN_IO == 0 &&
+           (((cpu_architecture() >= CPU_ARCH_ARMv6) && (get_cr() & CR_XP)) ||
               cpu_is_xsc3()) &&
               !((__pfn_to_phys(pfn) | size | addr) & ~SUPERSECTION_MASK)) {
                area->flags |= VM_ARM_SECTION_MAPPING;
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to