]> Pileus Git - ~andy/linux/blobdiff - arch/arm/kernel/head.S
Merge branch 'nfsd-next' of git://linux-nfs.org/~bfields/linux
[~andy/linux] / arch / arm / kernel / head.S
index 32f317e5828adafc2bdec200705a9d12c686711c..f5f381d915560818dcf0d2200731a90b0c7ae404 100644 (file)
@@ -52,7 +52,8 @@
        .equ    swapper_pg_dir, KERNEL_RAM_VADDR - PG_DIR_SIZE
 
        .macro  pgtbl, rd, phys
-       add     \rd, \phys, #TEXT_OFFSET - PG_DIR_SIZE
+       add     \rd, \phys, #TEXT_OFFSET
+       sub     \rd, \rd, #PG_DIR_SIZE
        .endm
 
 /*
@@ -101,7 +102,7 @@ ENTRY(stext)
        and     r3, r3, #0xf                    @ extract VMSA support
        cmp     r3, #5                          @ long-descriptor translation table format?
  THUMB( it     lo )                            @ force fixup-able long branch encoding
-       blo     __error_p                       @ only classic page table format
+       blo     __error_lpae                    @ only classic page table format
 #endif
 
 #ifndef CONFIG_XIP_KERNEL