diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/head.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 32f317e5828a..914616e0bdcd 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -52,7 +52,8 @@ | |||
52 | .equ swapper_pg_dir, KERNEL_RAM_VADDR - PG_DIR_SIZE | 52 | .equ swapper_pg_dir, KERNEL_RAM_VADDR - PG_DIR_SIZE |
53 | 53 | ||
54 | .macro pgtbl, rd, phys | 54 | .macro pgtbl, rd, phys |
55 | add \rd, \phys, #TEXT_OFFSET - PG_DIR_SIZE | 55 | add \rd, \phys, #TEXT_OFFSET |
56 | sub \rd, \rd, #PG_DIR_SIZE | ||
56 | .endm | 57 | .endm |
57 | 58 | ||
58 | /* | 59 | /* |