summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2007-02-13 17:11:34 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-14 15:21:22 +0000
commitdfc544c7216b276c1e9c0c753299692df4068c44 (patch)
tree3f8b30ea058ad49a4a54b76fa193bde988ac6f1a /drivers/i2c
parent6df26700c0884cb3cce2b9fa4795888f86ca4d8f (diff)
downloadop-kernel-dev-dfc544c7216b276c1e9c0c753299692df4068c44.zip
op-kernel-dev-dfc544c7216b276c1e9c0c753299692df4068c44.tar.gz
[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 <dan.j.williams@intel.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud