Skip to content

Commit 04527fd

Browse files
committed
Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King: "Just two changes this time around: - wire up the new mlock2 syscall added during the last merge window - fix a build problem with certain configurations provoked by making CONFIG_OF user selectable" * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: ARM: 8454/1: OF implies OF_FLATTREE ARM: wire up mlock2 syscall
2 parents 36511e8 + aa7d5f1 commit 04527fd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

arch/arm/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ config ARM
7676
select IRQ_FORCED_THREADING
7777
select MODULES_USE_ELF_REL
7878
select NO_BOOTMEM
79+
select OF_EARLY_FLATTREE if OF
80+
select OF_RESERVED_MEM if OF
7981
select OLD_SIGACTION
8082
select OLD_SIGSUSPEND3
8183
select PERF_USE_VMALLOC
@@ -1822,8 +1824,6 @@ config USE_OF
18221824
bool "Flattened Device Tree support"
18231825
select IRQ_DOMAIN
18241826
select OF
1825-
select OF_EARLY_FLATTREE
1826-
select OF_RESERVED_MEM
18271827
help
18281828
Include support for flattened device tree machine descriptions.
18291829

arch/arm/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@
416416
#define __NR_execveat (__NR_SYSCALL_BASE+387)
417417
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
418418
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
419+
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
419420

420421
/*
421422
* The following SWIs are ARM private.

arch/arm/kernel/calls.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@
399399
CALL(sys_execveat)
400400
CALL(sys_userfaultfd)
401401
CALL(sys_membarrier)
402+
CALL(sys_mlock2)
402403
#ifndef syscalls_counted
403404
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
404405
#define syscalls_counted

0 commit comments

Comments
 (0)