Revision | ad0b40fa944628d6f30b40266a599b285d70a266 (tree) |
---|---|
Time | 2016-01-30 09:16:12 |
Author | Linus Torvalds <torvalds@linu...> |
Commiter | Linus Torvalds |
Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King:
* 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
@@ -106,6 +106,15 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS) | ||
106 | 106 | KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) |
107 | 107 | endif |
108 | 108 | |
109 | +# -fstack-protector-strong triggers protection checks in this code, | |
110 | +# but it is being used too early to link to meaningful stack_chk logic. | |
111 | +nossp_flags := $(call cc-option, -fno-stack-protector) | |
112 | +CFLAGS_atags_to_fdt.o := $(nossp_flags) | |
113 | +CFLAGS_fdt.o := $(nossp_flags) | |
114 | +CFLAGS_fdt_ro.o := $(nossp_flags) | |
115 | +CFLAGS_fdt_rw.o := $(nossp_flags) | |
116 | +CFLAGS_fdt_wip.o := $(nossp_flags) | |
117 | + | |
109 | 118 | ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj) |
110 | 119 | asflags-y := -DZIMAGE |
111 | 120 |
@@ -417,6 +417,7 @@ | ||
417 | 417 | #define __NR_userfaultfd (__NR_SYSCALL_BASE+388) |
418 | 418 | #define __NR_membarrier (__NR_SYSCALL_BASE+389) |
419 | 419 | #define __NR_mlock2 (__NR_SYSCALL_BASE+390) |
420 | +#define __NR_copy_file_range (__NR_SYSCALL_BASE+391) | |
420 | 421 | |
421 | 422 | /* |
422 | 423 | * The following SWIs are ARM private. |
@@ -400,6 +400,7 @@ | ||
400 | 400 | CALL(sys_userfaultfd) |
401 | 401 | CALL(sys_membarrier) |
402 | 402 | CALL(sys_mlock2) |
403 | + CALL(sys_copy_file_range) | |
403 | 404 | #ifndef syscalls_counted |
404 | 405 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
405 | 406 | #define syscalls_counted |