From: Ben Dooks Date: Thu, 25 Jul 2013 14:47:40 +0000 (+0100) Subject: ARM: kdgb: use for data to be assembled as intruction X-Git-Tag: v3.13-rc1~103^2~1^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a8b93fc9457be90adfa10d3df6497393c5e2dc2;p=pandora-kernel.git ARM: kdgb: use 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 Reviewed-by: Dave Martin --- Reading git-diff-tree failed