Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23

* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23:
sh: missing symbol fix for sh4-202
sh: Fix DSP opcode regression for SH3-DSP parts.

+21 -1
+16 -1
arch/sh/Makefile
··· 34 34 endif 35 35 endif 36 36 37 + isa-y := $(isa-y)-up 38 + 37 39 cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) 38 40 cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ 39 41 $(call cc-option,-m2a-nofpu,) ··· 48 46 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb 49 47 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml 50 48 51 - cflags-y += $(call as-option,-Wa$(comma)-isa=$(isa-y),) -ffreestanding 49 + # 50 + # -Wa,-isa= tuning implies -Wa,-dsp for the versions of binutils that 51 + # support it, while -Wa,-dsp by itself limits the range of usable opcodes 52 + # on certain CPU subtypes. Try the ISA variant first, and if that fails, 53 + # fall back on -Wa,-dsp for the old binutils versions. Even without DSP 54 + # opcodes, we always want the best ISA tuning the version of binutils 55 + # will provide. 56 + # 57 + isaflags-y := $(call as-option,-Wa$(comma)-isa=$(isa-y),) 58 + 59 + isaflags-$(CONFIG_SH_DSP) := \ 60 + $(call as-option,-Wa$(comma)-isa=$(isa-y),-Wa$(comma)-dsp) 61 + 62 + cflags-y += $(isaflags-y) -ffreestanding 52 63 53 64 cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \ 54 65 $(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')
+5
arch/sh/kernel/cpu/sh4/setup-sh4-202.c
··· 41 41 ARRAY_SIZE(sh4202_devices)); 42 42 } 43 43 __initcall(sh4202_devices_setup); 44 + 45 + void __init plat_irq_setup(void) 46 + { 47 + /* do nothing - all IRL interrupts are handled by the board code */ 48 + }