From: Andreas Schwab Date: Mon, 16 Mar 2015 16:32:22 +0000 (+0000) Subject: arm64: fix implementation of mmap2 compat syscall X-Git-Tag: omap-for-v4.2/o2_dc~115^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ccb0cab49ef7868eaf9504f257e1a84683dbbd;p=pandora-kernel.git 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 Signed-off-by: Alexander Graf [will: removed redundant lr parameter, localised PAGE_SHIFT #if check] Signed-off-by: Will Deacon --- Reading git-diff-tree failed