linux/arch/sh
Paul Mundt 88ea1a445a sh64: Fix up PC casting in unaligned fixup notifier with 32bit ABI.
Presently the build bails with the following:

  CC      arch/sh/mm/alignment.o
cc1: warnings being treated as errors
arch/sh/mm/alignment.c: In function 'unaligned_fixups_notify':
arch/sh/mm/alignment.c:69: warning: cast to pointer from integer of different size
arch/sh/mm/alignment.c:74: warning: cast to pointer from integer of different size
make[2]: *** [arch/sh/mm/alignment.o] Error 1

This is due to the fact that regs->pc is always 64-bit, while the pointer size
depends on the ABI. Wrapping through instruction_pointer() takes care of the
appropriate casting for both configurations.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-01-19 15:41:50 +09:00
..
boards sh: Convert p3_ioremap() users to ioremap_prot(). 2010-01-19 13:55:41 +09:00
boot sh: fixed PMB mode refactoring. 2010-01-13 18:31:48 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: Preliminary SDK7786 board support. 2010-01-14 20:58:58 +09:00
drivers sh: Generalize SH7786 PCIe support. 2010-01-15 19:13:56 +09:00
include sh64: Fix up the build for the thread_xstate changes. 2010-01-19 15:40:03 +09:00
kernel sh64: Fix up the build for the thread_xstate changes. 2010-01-19 15:40:03 +09:00
lib sh: Optimised memset for SH4 2009-11-24 16:28:43 +09:00
lib64 sh64: Kill off special clear_page() implementation. 2009-08-04 17:17:00 +09:00
math-emu sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
mm sh64: Fix up PC casting in unaligned fixup notifier with 32bit ABI. 2010-01-19 15:41:50 +09:00
oprofile sh: oprofile: Fix up count size mismatch for common impl. 2009-11-05 17:13:15 +09:00
tools Merge branch 'sh/stable-updates' 2010-01-18 20:47:37 +09:00
Kconfig sh: Limit ioremap_prot() to 32bit pgprot parts. 2010-01-19 14:00:14 +09:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: Remove old early serial console code V2 2009-12-15 12:07:35 +09:00
Makefile sh: Preliminary SDK7786 board support. 2010-01-14 20:58:58 +09:00