diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2006-02-24 21:03:51 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-24 22:31:36 (GMT) |
commit | 6ced13cdcab440931b87829b0f2d0dedacfb3f2d (patch) | |
tree | 8bdd7a80685a7069b30a0e03d32892a81ea8ca9c /include/asm-ppc/mk48t59.h | |
parent | cde05cf2145b0aa06dd61277060bfba5d38acb0b (diff) | |
download | linux-fsl-qoriq-6ced13cdcab440931b87829b0f2d0dedacfb3f2d.tar.xz |
[PATCH] m32r: fix and update for gcc-4.0
Fix and update for gcc-4.0.
- arch/m32r/kernel/signal.c:
Change type of the 8th parameter of sys_rt_sigsuspend() from
'struct pt_regs' to 'struct pt_regs *'.
This functions make use of the 'regs' parameter to return status value,
but gcc-4.0 optimizes and removes it as a dead code.
Functions, sys_sigaltstack() and sys_rt_sigreturn(), have also modified.
- arch/m32r/lib/usercopy.c, include/asm-m32r/uaccess.h:
Add early-clobber constraints('&') to output values of asm statements;
these constraints seems to be required for gcc-4.0 register assignment.
Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc/mk48t59.h')
0 files changed, 0 insertions, 0 deletions