Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5763
b: refs/heads/master
c: b876386
h: refs/heads/master
i:
  5761: e2670a6
  5759: 5803bb4
v: v3
  • Loading branch information
Russell King authored and Russell King committed Aug 10, 2005
1 parent 0125779 commit 9445d5b
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 3c4ee4e2520775896efc6ab850c4c27971fbcf2a
refs/heads/master: b876386ee47e3ac9375a36e9107b8bd32e0599fc
7 changes: 7 additions & 0 deletions trunk/arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,13 @@ ENTRY(__switch_to)
ldr r3, [r2, #TI_TP_VALUE]
stmia ip!, {r4 - sl, fp, sp, lr} @ Store most regs on stack
ldr r6, [r2, #TI_CPU_DOMAIN]!
#if __LINUX_ARM_ARCH__ >= 6
#ifdef CONFIG_CPU_MPCORE
clrex
#else
strex r3, r4, [ip] @ Clear exclusive monitor
#endif
#endif
#if defined(CONFIG_CPU_XSCALE) && !defined(CONFIG_IWMMXT)
mra r4, r5, acc0
stmia ip, {r4, r5}
Expand Down

0 comments on commit 9445d5b

Please sign in to comment.