Skip to content
Commit 947df17c authored by H. Peter Anvin's avatar H. Peter Anvin Committed by Ralf Baechle
Browse files

[MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT.


    
This patch adjusts the offset argument passed into sys_mmap2 to be
always shifted 12, even when the native page size isn't 4K.  This is
what all existing userspace libraries expect.
    
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>

---
parent de862b48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment