summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/syscall_table.S
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-09-16 07:46:23 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-11-08 15:20:44 +0100
commit99399545d62533b4ae742190b5c6b11f7a5826d9 (patch)
treed7f6ab88f9a71f301ad5294d1572c939a2155b70 /arch/microblaze/kernel/syscall_table.S
parent176195e757df0044623b2086527ad5b5cfde9488 (diff)
downloadblackbird-op-linux-99399545d62533b4ae742190b5c6b11f7a5826d9.tar.gz
blackbird-op-linux-99399545d62533b4ae742190b5c6b11f7a5826d9.zip
microblaze: Fix bug with mmap2 syscall MB implementation
Fix mmap2 behaviour which incorrectly works with pgoff not in 4k units. Reported-by: Rich Felker <dalias@aerifal.cx> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/syscall_table.S')
-rw-r--r--arch/microblaze/kernel/syscall_table.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S
index 4fca56cf02f6..b882ad50535b 100644
--- a/arch/microblaze/kernel/syscall_table.S
+++ b/arch/microblaze/kernel/syscall_table.S
@@ -192,7 +192,7 @@ ENTRY(sys_call_table)
.long sys_ni_syscall /* reserved for streams2 */
.long sys_vfork /* 190 */
.long sys_getrlimit
- .long sys_mmap_pgoff /* mmap2 */
+ .long sys_mmap2
.long sys_truncate64
.long sys_ftruncate64
.long sys_stat64 /* 195 */
OpenPOWER on IntegriCloud