commit | 18ccb0cab49ef7868eaf9504f257e1a84683dbbd | [log] [tgz] |
---|---|---|
author | Andreas Schwab <schwab@suse.de> | Mon Mar 16 16:32:22 2015 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Thu Mar 19 10:43:51 2015 +0000 |
tree | 54d6aecbdfc68fb7a40d39cb09cee3b11ca87158 | |
parent | ad08fd494bf00c03ae372e0bbd9cefa37bf608d6 [diff] |
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: Andreas Schwab <schwab@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de> [will: removed redundant lr parameter, localised PAGE_SHIFT #if check] Signed-off-by: Will Deacon <will.deacon@arm.com>