diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-10-06 10:34:06 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-10-06 10:35:08 +0200 |
commit | 593c4f739859594dc4824b6d29f9abb1f0b3c669 (patch) | |
tree | acaaeb14c41a44cf239f4f10576bf90648c1e328 /arch/s390 | |
parent | 0cd6a403e8f86bb24975e4c16ce640a063475515 (diff) | |
download | blackbird-op-linux-593c4f739859594dc4824b6d29f9abb1f0b3c669.tar.gz blackbird-op-linux-593c4f739859594dc4824b6d29f9abb1f0b3c669.zip |
[S390] compat: fix truncate system call wrapper
The system call takes a signed length parameter. So perform sign
extension instead of zero extension.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 682fb69dba21..cbd9901dc0f8 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S @@ -409,7 +409,7 @@ sys32_munmap_wrapper: .globl sys32_truncate_wrapper sys32_truncate_wrapper: llgtr %r2,%r2 # const char * - llgfr %r3,%r3 # unsigned long + lgfr %r3,%r3 # long jg sys_truncate # branch to system call .globl sys32_ftruncate_wrapper |