diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2013-07-25 16:47:40 +0200 |
---|---|---|
committer | Ben Dooks <ben.dooks@codethink.co.uk> | 2013-10-19 21:46:35 +0200 |
commit | 5a8b93fc9457be90adfa10d3df6497393c5e2dc2 (patch) | |
tree | 167242e0c26eaba1dedef97dda499525323e5313 /arch/arm/include/asm/atomic.h | |
parent | ARM: Correct BUG() assembly to ensure it is endian-agnostic (diff) | |
download | linux-5a8b93fc9457be90adfa10d3df6497393c5e2dc2.tar.xz linux-5a8b93fc9457be90adfa10d3df6497393c5e2dc2.zip |
ARM: kdgb: use <asm/opcodes.h> for data to be assembled as intruction
The arch_kgdb_breakpoint() function uses an inline assembly directive
to assemble a specific instruction using .word. This means the linker
will not treat is as an instruction, and therefore incorrectly swap
the endian-ness if running BE8.
As noted, this code means that kgdb is really only usable on arm32
kernels, and should be made dependant on not being a thumb2 kernel
until fixed. However this is not something to be added to this patch.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Diffstat (limited to 'arch/arm/include/asm/atomic.h')
0 files changed, 0 insertions, 0 deletions