Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349139
b: refs/heads/master
c: 6f16f49
h: refs/heads/master
i:
  349137: a1947d3
  349135: 9683aef
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Jan 16, 2013
1 parent 2aecbe5 commit 98d3a7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 568dca15aa2a0f4ddee255894ec393a159f13147
refs/heads/master: 6f16f4998f98e42e3f2dedf663cfb691ff0324af
3 changes: 3 additions & 0 deletions trunk/arch/arm/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,16 @@ __create_page_tables:

/*
* Then map boot params address in r2 if specified.
* We map 2 sections in case the ATAGs/DTB crosses a section boundary.
*/
mov r0, r2, lsr #SECTION_SHIFT
movs r0, r0, lsl #SECTION_SHIFT
subne r3, r0, r8
addne r3, r3, #PAGE_OFFSET
addne r3, r4, r3, lsr #(SECTION_SHIFT - PMD_ORDER)
orrne r6, r7, r0
strne r6, [r3], #1 << PMD_ORDER
addne r6, r6, #1 << SECTION_SHIFT
strne r6, [r3]

#ifdef CONFIG_DEBUG_LL
Expand Down

0 comments on commit 98d3a7f

Please sign in to comment.