diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-23 11:00:36 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 17:46:06 (GMT) |
commit | 2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254 (patch) | |
tree | 51210f1cd80327a00e2fd4b0d20849b6329925d6 /drivers/hwmon/da9052-hwmon.c | |
parent | bf14e3b979a01cd7298d631736f965fe83c6e2bc (diff) | |
download | linux-2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254.tar.xz |
ARC: Unaligned access emulation
ARC700 doesn't natively support unaligned access, but can be emulated
-Unaligned Access Exception
-Disassembly at the Fault address to find the exact insn (long/short)
Also per Arnd's comment, we runtime control it using 2 sysctl knobs:
* SYSCTL_ARCH_UNALIGN_ALLOW: Runtime enable/disble
* SYSCTL_ARCH_UNALIGN_NO_WARN: Warn on each emulation attempt
Originally contributed by Tim Yao <tim.yao@amlogic.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Tim Yao <tim.yao@amlogic.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/hwmon/da9052-hwmon.c')
0 files changed, 0 insertions, 0 deletions