projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9405890
)
ARM: 8695/1: entry: Remove dead code in sys_mmap2
author
Vladimir Murzin
<vladimir.murzin@arm.com>
Mon, 4 Sep 2017 08:17:32 +0000
(09:17 +0100)
committer
Russell King
<rmk+kernel@armlinux.org.uk>
Thu, 28 Sep 2017 10:13:03 +0000
(11:13 +0100)
We support page size of 4K only, remove dead code.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/entry-common.S
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/entry-common.S
b/arch/arm/kernel/entry-common.S
index ca3614dc6938e1595f71a095f53456eb26701bec..cc70bc5650a536b13830f03eb37ad77a95197876 100644
(file)
--- a/
arch/arm/kernel/entry-common.S
+++ b/
arch/arm/kernel/entry-common.S
@@
-394,17
+394,8
@@
ENDPROC(sys_fstatfs64_wrapper)
* offset, we return EINVAL.
*/
sys_mmap2:
-#if PAGE_SHIFT > 12
- tst r5, #PGOFF_MASK
- moveq r5, r5, lsr #PAGE_SHIFT - 12
- streq r5, [sp, #4]
- beq sys_mmap_pgoff
- mov r0, #-EINVAL
- ret lr
-#else
str r5, [sp, #4]
b sys_mmap_pgoff
-#endif
ENDPROC(sys_mmap2)
#ifdef CONFIG_OABI_COMPAT