summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh2a/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-08 07:50:59 +0200
committerPaul Mundt <lethal@hera.kernel.org>2007-05-09 03:35:01 +0200
commitbd0799977cb9b68aa6a39e9630aeea4778a58385 (patch)
tree125c0c923701c5b6f823a7b614c295e06370d46c /arch/sh/kernel/cpu/sh2a/Makefile
parentsh: Kill off redundant __div64_32 symbol export. (diff)
downloadlinux-bd0799977cb9b68aa6a39e9630aeea4778a58385.tar.xz
linux-bd0799977cb9b68aa6a39e9630aeea4778a58385.zip
sh: Support for SH-2A 32-bit opcodes.
SH-2A supports both 16 and 32-bit instructions, add a simple helper for figuring out the instruction size in the places where there are hardcoded 16-bit assumptions. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh2a/Makefile')
-rw-r--r--arch/sh/kernel/cpu/sh2a/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/Makefile b/arch/sh/kernel/cpu/sh2a/Makefile
index 350972ae9410..965fa2572b23 100644
--- a/arch/sh/kernel/cpu/sh2a/Makefile
+++ b/arch/sh/kernel/cpu/sh2a/Makefile
@@ -2,9 +2,8 @@
# Makefile for the Linux/SuperH SH-2A backends.
#
-obj-y := common.o probe.o
+obj-y := common.o probe.o opcode_helper.o
-common-y += $(addprefix ../sh2/, ex.o)
-common-y += $(addprefix ../sh2/, entry.o)
+common-y += $(addprefix ../sh2/, ex.o entry.o)
obj-$(CONFIG_CPU_SUBTYPE_SH7206) += setup-sh7206.o clock-sh7206.o