2.6.35.y: Revert "SH: Add missing consts to sys_execve() declaration"
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Thu, 14 Apr 2011 15:11:35 +0000 (16:11 +0100)
committerAndi Kleen <ak@linux.intel.com>
Thu, 28 Apr 2011 15:21:16 +0000 (08:21 -0700)
commit9128ce02d90d51012f561526d8c052f85a0d725b
tree5e37a2dc4a89654b88b428d21340a53b20f66d9a
parenta6cba0b73761e2d3b94b0cceb15ee1f5f52d2b85
2.6.35.y: Revert "SH: Add missing consts to sys_execve() declaration"

This reverts commit 1219932ca26da2026e598590a3b7a2f36b3c3621
(commit d8b5fc01683c66060edc202d6bb5635365822181 upstream).

The reverted commit depends on an upstream commit that has not
been applied to 2.6.35.y (d7627467b7a8dd6944885290a03a07ceb28c10eb).

This fixes a build failure on all SH devices:

/arch/sh/kernel/process_32.c:299: error: conflicting types for 'sys_execve'
/arch/sh/include/asm/syscalls_32.h:22: note: previous declaration of 'sys_execve' was here

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/sh/include/asm/syscalls_32.h