diff options
author | Jon Medhurst (Tixy) <[email protected]> | 2011-11-29 08:14:35 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2011-11-30 23:54:53 +0000 |
commit | 14383c295ab48178c449336f5d74e9e615e36723 (patch) | |
tree | d18981956db104fc75fc4212976e6363a094ecc3 /net/lapb/lapb_subr.c | |
parent | fe41db7b3aca512e19b8ef4fbd5ad55545005d25 (diff) |
ARM: 7180/1: Change kprobes testcase with unpredictable STRD instruction
There is a kprobes testcase for the instruction "strd r2, [r3], r4".
This has unpredictable behaviour as it uses r3 for register writeback
addressing and also stores it to memory.
On a cortex A9, this testcase would fail because the instruction writes
the updated value of r3 to memory, whereas the kprobes emulation code
writes the original value.
Fix this by changing testcase to used r5 instead of r3.
Reported-by: Leif Lindholm <[email protected]>
Tested-by: Leif Lindholm <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Signed-off-by: Jon Medhurst <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions