aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-14 03:46:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2012-05-14 03:46:07 -0400
commit2ec08e141f88328e8a4d24590e9a2406633a0898 (patch)
tree899cc0a7c1c10c0007219cf2e81e1a4d00190973
parent4de5185629f44942f60e2fd536709ef31bd5a9c1 (diff)
sh64: Fix up caller-save register settings for fast-path.
Now that the fast-path handler has been moved, we also need to update the Makefile to ensure that the same restrictions for caller-save registers are observed. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/mm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile
index ba819108631..cee6b9999d8 100644
--- a/arch/sh/mm/Makefile
+++ b/arch/sh/mm/Makefile
@@ -44,7 +44,7 @@ obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
44 44
45GCOV_PROFILE_pmb.o := n 45GCOV_PROFILE_pmb.o := n
46 46
47# Special flags for fault_64.o. This puts restrictions on the number of 47# Special flags for tlbex_64.o. This puts restrictions on the number of
48# caller-save registers that the compiler can target when building this file. 48# caller-save registers that the compiler can target when building this file.
49# This is required because the code is called from a context in entry.S where 49# This is required because the code is called from a context in entry.S where
50# very few registers have been saved in the exception handler (for speed 50# very few registers have been saved in the exception handler (for speed
@@ -59,7 +59,7 @@ GCOV_PROFILE_pmb.o := n
59# The resources not listed below are callee save, i.e. the compiler is free to 59# The resources not listed below are callee save, i.e. the compiler is free to
60# use any of them and will spill them to the stack itself. 60# use any of them and will spill them to the stack itself.
61 61
62CFLAGS_fault_64.o += -ffixed-r7 \ 62CFLAGS_tlbex_64.o += -ffixed-r7 \
63 -ffixed-r8 -ffixed-r9 -ffixed-r10 -ffixed-r11 -ffixed-r12 \ 63 -ffixed-r8 -ffixed-r9 -ffixed-r10 -ffixed-r11 -ffixed-r12 \
64 -ffixed-r13 -ffixed-r14 -ffixed-r16 -ffixed-r17 -ffixed-r19 \ 64 -ffixed-r13 -ffixed-r14 -ffixed-r16 -ffixed-r17 -ffixed-r19 \
65 -ffixed-r20 -ffixed-r21 -ffixed-r22 -ffixed-r23 \ 65 -ffixed-r20 -ffixed-r21 -ffixed-r22 -ffixed-r23 \