]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Add unaligned memory access for PC relative intructions
authorPhil Edworthy <Phil.Edworthy@renesas.com>
Wed, 24 Aug 2011 10:43:59 +0000 (10:43 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Aug 2011 06:32:10 +0000 (15:32 +0900)
commita67a42b20c0bba1fd2257c0781fb3321d53357f1
treedaaa5fe82c1d80c806c6da6cb69cd96218f27072
parentd83c2c5b3e1a4199eee14756c164aa89f72aa825
sh: Add unaligned memory access for PC relative intructions

This adds unaligned memory access support for the following instructions:
  mov.w @(disp,PC),Rn
  mov.l @(disp,PC),Rn

These instructions are often used on SH2A toolchains.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c