diff options
Diffstat (limited to 'arch/tile/mm/elf.c')
-rw-r--r-- | arch/tile/mm/elf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/mm/elf.c b/arch/tile/mm/elf.c index 818c9bef060c..55e58e93bfc5 100644 --- a/arch/tile/mm/elf.c +++ b/arch/tile/mm/elf.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/elf.h> | 20 | #include <linux/elf.h> |
21 | #include <asm/pgtable.h> | 21 | #include <asm/pgtable.h> |
22 | #include <asm/pgalloc.h> | 22 | #include <asm/pgalloc.h> |
23 | #include <asm/sections.h> | ||
23 | 24 | ||
24 | /* Notify a running simulator, if any, that an exec just occurred. */ | 25 | /* Notify a running simulator, if any, that an exec just occurred. */ |
25 | static void sim_notify_exec(const char *binary_name) | 26 | static void sim_notify_exec(const char *binary_name) |
@@ -77,9 +78,8 @@ static void *vdso_page; | |||
77 | /* One-entry array used for install_special_mapping. */ | 78 | /* One-entry array used for install_special_mapping. */ |
78 | static struct page *vdso_pages[1]; | 79 | static struct page *vdso_pages[1]; |
79 | 80 | ||
80 | int __init vdso_setup(void) | 81 | static int __init vdso_setup(void) |
81 | { | 82 | { |
82 | extern char __rt_sigreturn[], __rt_sigreturn_end[]; | ||
83 | vdso_page = (void *)get_zeroed_page(GFP_ATOMIC); | 83 | vdso_page = (void *)get_zeroed_page(GFP_ATOMIC); |
84 | memcpy(vdso_page, __rt_sigreturn, __rt_sigreturn_end - __rt_sigreturn); | 84 | memcpy(vdso_page, __rt_sigreturn, __rt_sigreturn_end - __rt_sigreturn); |
85 | vdso_pages[0] = virt_to_page(vdso_page); | 85 | vdso_pages[0] = virt_to_page(vdso_page); |