From: Dan Williams Date: Tue, 13 Feb 2007 16:11:34 +0000 (+0100) Subject: [ARM] 4183/1: do_undefinstr: read svc undefined instructions with svc privileges X-Git-Tag: v2.6.21-rc1~75^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc544c7216b276c1e9c0c753299692df4068c44;p=pandora-kernel.git [ARM] 4183/1: do_undefinstr: read svc undefined instructions with svc privileges do_undefinstr currently does not expect undefined instructions in kernel code, since it always uses get_user() to read the instruction. Dereference the 'pc' pointer directly in the SVC case. Per Nicolas Pitre's note, kernel code is never in thumb mode. Signed-off-by: Dan Williams Signed-off-by: Russell King --- Reading git-diff-tree failed