Skip to content
Commit 18ccb0ca authored by Andreas Schwab's avatar Andreas Schwab Committed by Will Deacon
Browse files

arm64: fix implementation of mmap2 compat syscall



The arm mmap2 syscall takes the offset in units of 4K, thus with 64K pages
the offset needs to be scaled to units of pages.

Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
[will: removed redundant lr parameter, localised PAGE_SHIFT #if check]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent ad08fd49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment