aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-09-12 07:04:37 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-09-12 07:04:37 -0400
commit87d721ad7a37b7650dd710c88dd5c6a5bf9fe996 (patch)
tree869d633803eb7c429624d3bd16a6117816849763 /arch/arm/kernel
parentddd559b13f6d2fe3ad68c4b3f5235fd3c2eae4e3 (diff)
parentb7cfda9fc3d7aa60cffab5367f2a72a4a70060cd (diff)
Merge branch 'master' into devel
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/entry-common.S2
-rw-r--r--arch/arm/kernel/signal.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
index 3657c5328a5b..c71818bdf2cc 100644
--- a/arch/arm/kernel/entry-common.S
+++ b/arch/arm/kernel/entry-common.S
@@ -153,7 +153,7 @@ trace:
153 sub r0, r0, #MCOUNT_INSN_SIZE 153 sub r0, r0, #MCOUNT_INSN_SIZE
154 mov lr, pc 154 mov lr, pc
155 mov pc, r2 155 mov pc, r2
156 mov lr, r1 @ restore lr 156 ldr lr, [fp, #-4] @ restore lr
157 ldmia sp!, {r0-r3, pc} 157 ldmia sp!, {r0-r3, pc}
158 158
159#endif /* CONFIG_DYNAMIC_FTRACE */ 159#endif /* CONFIG_DYNAMIC_FTRACE */
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
index e27ee1f701d5..f7194e44d5a9 100644
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -98,7 +98,7 @@ sys_sigaction(int sig, const struct old_sigaction __user *act,
98} 98}
99 99
100#ifdef CONFIG_CRUNCH 100#ifdef CONFIG_CRUNCH
101static int preserve_crunch_context(struct crunch_sigframe *frame) 101static int preserve_crunch_context(struct crunch_sigframe __user *frame)
102{ 102{
103 char kbuf[sizeof(*frame) + 8]; 103 char kbuf[sizeof(*frame) + 8];
104 struct crunch_sigframe *kframe; 104 struct crunch_sigframe *kframe;
@@ -111,7 +111,7 @@ static int preserve_crunch_context(struct crunch_sigframe *frame)
111 return __copy_to_user(frame, kframe, sizeof(*frame)); 111 return __copy_to_user(frame, kframe, sizeof(*frame));
112} 112}
113 113
114static int restore_crunch_context(struct crunch_sigframe *frame) 114static int restore_crunch_context(struct crunch_sigframe __user *frame)
115{ 115{
116 char kbuf[sizeof(*frame) + 8]; 116 char kbuf[sizeof(*frame) + 8];
117 struct crunch_sigframe *kframe; 117 struct crunch_sigframe *kframe;