From 3a7c93e1ee949697a0774e975c36c5a33fbe9213 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 10 Nov 2007 02:15:26 +0000 Subject: [PATCH] pie-executable-randomization-uninlining the compiler does that Cc: "Luck, Tony" Cc: Arjan van de Ven Cc: Ingo Molnar Cc: Jakub Jelinek Cc: Jiri Kosina Cc: KAMEZAWA Hiroyuki Cc: Roland McGrath Cc: Thomas Gleixner Signed-off-by: Andrew Morton --- arch/x86/mm/mmap_64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/mmap_64.c b/arch/x86/mm/mmap_64.c index 8cf03ea651f8..28ae7b582924 100644 --- a/arch/x86/mm/mmap_64.c +++ b/arch/x86/mm/mmap_64.c @@ -42,7 +42,7 @@ #define MIN_GAP (128*1024*1024) #define MAX_GAP (TASK_SIZE/6*5) -static inline unsigned long mmap_base(void) +static unsigned long mmap_base(void) { unsigned long gap = current->signal->rlim[RLIMIT_STACK].rlim_cur; @@ -54,7 +54,7 @@ static inline unsigned long mmap_base(void) return TASK_SIZE - (gap & PAGE_MASK); } -static inline int mmap_is_32(void) +static int mmap_is_32(void) { #ifdef CONFIG_IA32_EMULATION if (test_thread_flag(TIF_IA32)) @@ -63,7 +63,7 @@ static inline int mmap_is_32(void) return 0; } -static inline int mmap_is_legacy(void) +static int mmap_is_legacy(void) { if (current->personality & ADDR_COMPAT_LAYOUT) return 1; -- 2.11.4.GIT