diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/arm64/include/asm/elf.h | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/arm64/include/asm/elf.h')
| -rw-r--r-- | arch/arm64/include/asm/elf.h | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h index fac1c4de7898..433b9554c6a1 100644 --- a/arch/arm64/include/asm/elf.h +++ b/arch/arm64/include/asm/elf.h @@ -121,6 +121,9 @@  #ifndef __ASSEMBLY__ +#include <linux/bug.h> +#include <asm/processor.h> /* for signal_minsigstksz, used by ARCH_DLINFO */ +  typedef unsigned long elf_greg_t;  #define ELF_NGREG (sizeof(struct user_pt_regs) / sizeof(elf_greg_t)) @@ -148,6 +151,16 @@ typedef struct user_fpsimd_state elf_fpregset_t;  do {									\  	NEW_AUX_ENT(AT_SYSINFO_EHDR,					\  		    (elf_addr_t)current->mm->context.vdso);		\ +									\ +	/*								\ +	 * Should always be nonzero unless there's a kernel bug.	\ +	 * If we haven't determined a sensible value to give to		\ +	 * userspace, omit the entry:					\ +	 */								\ +	if (likely(signal_minsigstksz))					\ +		NEW_AUX_ENT(AT_MINSIGSTKSZ, signal_minsigstksz);	\ +	else								\ +		NEW_AUX_ENT(AT_IGNORE, 0);				\  } while (0)  #define ARCH_HAS_SETUP_ADDITIONAL_PAGES |