diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mm/memory.c b/mm/memory.c index 3416b6e018d6..6105f475fa86 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -3623,13 +3623,7 @@ static int __init gate_vma_init(void) | |||
3623 | gate_vma.vm_end = FIXADDR_USER_END; | 3623 | gate_vma.vm_end = FIXADDR_USER_END; |
3624 | gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; | 3624 | gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; |
3625 | gate_vma.vm_page_prot = __P101; | 3625 | gate_vma.vm_page_prot = __P101; |
3626 | /* | 3626 | |
3627 | * Make sure the vDSO gets into every core dump. | ||
3628 | * Dumping its contents makes post-mortem fully interpretable later | ||
3629 | * without matching up the same kernel and hardware config to see | ||
3630 | * what PC values meant. | ||
3631 | */ | ||
3632 | gate_vma.vm_flags |= VM_ALWAYSDUMP; | ||
3633 | return 0; | 3627 | return 0; |
3634 | } | 3628 | } |
3635 | __initcall(gate_vma_init); | 3629 | __initcall(gate_vma_init); |