Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2227
b: refs/heads/master
c: 49f680e
h: refs/heads/master
i:
  2225: f4a2f04
  2223: ffabe89
v: v3
  • Loading branch information
Russell King committed May 31, 2005
1 parent 513024d commit dff6975
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 791be9b976ba621b21745c30a7fca225fada9110
refs/heads/master: 49f680ea7bac5c679fb6374a326a164a3fba07cc
4 changes: 3 additions & 1 deletion trunk/arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ __pabt_svc:
.word __temp_und
.LCabt:
.word __temp_abt
.LCcralign:
.word cr_alignment
#ifdef MULTI_ABORT
.LCprocfns:
.word processor
Expand Down Expand Up @@ -311,7 +313,7 @@ __pabt_svc:
@
@ Enable the alignment trap while in kernel mode
@
alignment_trap r7, r0, __temp_\sym
alignment_trap r0

@
@ Clear FP to mark the first stack frame
Expand Down
7 changes: 3 additions & 4 deletions trunk/arch/arm/kernel/entry-header.S
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@
mov \rd, \rd, lsl #13
.endm

.macro alignment_trap, rbase, rtemp, sym
.macro alignment_trap, rtemp
#ifdef CONFIG_ALIGNMENT_TRAP
#define OFF_CR_ALIGNMENT(x) cr_alignment - x

ldr \rtemp, [\rbase, #OFF_CR_ALIGNMENT(\sym)]
ldr \rtemp, .LCcralign
ldr \rtemp, [\rtemp]
mcr p15, 0, \rtemp, c1, c0
#endif
.endm
Expand Down

0 comments on commit dff6975

Please sign in to comment.