linux/arch/sh
SUGIOKA Toshinobu 2afb447f33 sh: fix unaligned and nonexistent address handling
unaligned and nonexistent address causes wrong exception
handling in traps_32.c(handle_unaligned_access).

'handle_unalinged_ins' should return -EFAULT if address error
is fixed up with kernel exception table, otherwise
'handle_unaligned_access' increases already fixed program counter
and then crash.

for example
   ioctl(fd, TCGETA, (struct termio *)-1)
never return and stay in TASK_UNINTERRUPTIBLE state forever
in my kernel.

Signed-off-by: SUGIOKA Toshinobu <sugioka@itonet.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-01-21 18:35:55 +09:00
..
boards sh: sh7785lcr/highlander/hp6xx need linux/irq.h. 2009-01-21 17:43:25 +09:00
boot sh: FTRACE renamed to FUNCTION_TRACER. 2008-10-31 16:20:36 +09:00
cchips sh: Switch HD64461 from hw_interrupt_type to irq_chip 2008-12-22 18:43:50 +09:00
configs sh: update defconfigs. 2009-01-21 17:44:16 +09:00
drivers PCI: sh: use generic INTx swizzle from PCI core 2009-01-07 11:13:15 -08:00
include asm-sh/posix_types_{32,64}.h: drop __GLIBC__/__USE_ALL usage 2009-01-21 17:41:21 +09:00
kernel sh: fix unaligned and nonexistent address handling 2009-01-21 18:35:55 +09:00
lib sh: Add plain udivsi3 (not _i4*) for gcc-4.1 and lower. 2008-12-22 18:43:53 +09:00
lib64 sh: Provide sdivsi3/udivsi3/udivdi3 for sh64, kill off libgcc linking. 2008-12-22 18:44:05 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm arch/sh/mm: Move a dereference below a NULL test 2009-01-21 17:41:14 +09:00
oprofile sh: oprofile: Fix up the module build. 2008-12-22 19:32:27 +09:00
tools sh: Consolidate rsk7203/7201 in to a new mach-rsk. 2008-12-22 18:44:02 +09:00
Kconfig sh: Kill off obsolete busses from arch/sh/Kconfig. 2009-01-21 17:44:01 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Conditionalize the code dumper on CONFIG_DUMP_CODE. 2008-12-22 18:44:47 +09:00
Makefile sh: mach-rsk: Use uImage generation by default for rsk7201/7203. 2008-12-22 18:44:49 +09:00