diff options
Diffstat (limited to 'arch/x86/vdso/vma.c')
-rw-r--r-- | arch/x86/vdso/vma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c index ac74869b8140..4b5d26f108bb 100644 --- a/arch/x86/vdso/vma.c +++ b/arch/x86/vdso/vma.c | |||
@@ -67,6 +67,7 @@ static int __init init_vdso_vars(void) | |||
67 | *(typeof(__ ## x) **) var_ref(VDSO64_SYMBOL(vbase, x), #x) = &__ ## x; | 67 | *(typeof(__ ## x) **) var_ref(VDSO64_SYMBOL(vbase, x), #x) = &__ ## x; |
68 | #include "vextern.h" | 68 | #include "vextern.h" |
69 | #undef VEXTERN | 69 | #undef VEXTERN |
70 | vunmap(vbase); | ||
70 | return 0; | 71 | return 0; |
71 | 72 | ||
72 | oom: | 73 | oom: |
@@ -74,7 +75,7 @@ static int __init init_vdso_vars(void) | |||
74 | vdso_enabled = 0; | 75 | vdso_enabled = 0; |
75 | return -ENOMEM; | 76 | return -ENOMEM; |
76 | } | 77 | } |
77 | __initcall(init_vdso_vars); | 78 | subsys_initcall(init_vdso_vars); |
78 | 79 | ||
79 | struct linux_binprm; | 80 | struct linux_binprm; |
80 | 81 | ||