]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fixup! ARM: LPAE: MMU setup for the 3-level page table format
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 13 Aug 2011 12:58:19 +0000 (13:58 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 15 Aug 2011 15:39:20 +0000 (16:39 +0100)
Fix non-LPAE boot regression.

It was introduced by  407f8b4cb07cbc5c1c7cc386f231224e2524ccea
ARM: LPAE: MMU setup for the 3-level page table format

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/kernel/head.S

index 0bdafc4351bf1b1b0739a16a41d2277e5f3c4278..1b6aa00131a6f2b684ef31d14b33cb8e7210dabe 100644 (file)
@@ -206,7 +206,7 @@ __create_page_tables:
 1:     orr     r3, r7, r5, lsl #SECTION_SHIFT  @ flags + kernel base
        str     r3, [r4, r5, lsl #PMD_ORDER]    @ identity mapping
        cmp     r5, r6
-       addlo   r5, r5, #SECTION_SHIFT >> 20    @ next section
+       addlo   r5, r5, #1                      @ next section
        blo     1b
 
        /*