diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-08-13 04:06:39 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-08-13 04:06:54 -0400 |
commit | 3a1103703538d164551dc9b5a734a2c8ebcd27ee (patch) | |
tree | 78cb5db53ac92c2040cceceaca96f9a85a27bfb9 /arch/s390/kernel/sys_s390.c | |
parent | 625c94df22fb4247c8ccd54635a8ec77cb60d651 (diff) |
[S390] sys_personality: follow u_long to unsigned int conversion
commit 485d527686850d68a0e9006dd9904f19f122485e "sys_personality: change
sys_personality() to accept "unsigned int" instead of u_long" changed
the syscall interface for sys_personality.
Just follow the common code change in our arch code to avoid confusion.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/sys_s390.c')
-rw-r--r-- | arch/s390/kernel/sys_s390.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c index 7b6b0f81a283..476081440df9 100644 --- a/arch/s390/kernel/sys_s390.c +++ b/arch/s390/kernel/sys_s390.c | |||
@@ -131,9 +131,9 @@ SYSCALL_DEFINE5(s390_ipc, uint, call, int, first, unsigned long, second, | |||
131 | } | 131 | } |
132 | 132 | ||
133 | #ifdef CONFIG_64BIT | 133 | #ifdef CONFIG_64BIT |
134 | SYSCALL_DEFINE1(s390_personality, unsigned long, personality) | 134 | SYSCALL_DEFINE1(s390_personality, unsigned int, personality) |
135 | { | 135 | { |
136 | int ret; | 136 | unsigned int ret; |
137 | 137 | ||
138 | if (current->personality == PER_LINUX32 && personality == PER_LINUX) | 138 | if (current->personality == PER_LINUX32 && personality == PER_LINUX) |
139 | personality = PER_LINUX32; | 139 | personality = PER_LINUX32; |