diff options
Diffstat (limited to 'arch/x86/mm/mmap_32.c')
-rw-r--r-- | arch/x86/mm/mmap_32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/mm/mmap_32.c b/arch/x86/mm/mmap_32.c index d7dd0962a6d7..d490662e4af4 100644 --- a/arch/x86/mm/mmap_32.c +++ b/arch/x86/mm/mmap_32.c | |||
@@ -57,7 +57,11 @@ static inline unsigned long mmap_base(struct mm_struct *mm) | |||
57 | * This function, called very early during the creation of a new | 57 | * This function, called very early during the creation of a new |
58 | * process VM image, sets up which VM layout function to use: | 58 | * process VM image, sets up which VM layout function to use: |
59 | */ | 59 | */ |
60 | #ifdef CONFIG_X86_32 | ||
60 | void arch_pick_mmap_layout(struct mm_struct *mm) | 61 | void arch_pick_mmap_layout(struct mm_struct *mm) |
62 | #else | ||
63 | void ia32_pick_mmap_layout(struct mm_struct *mm) | ||
64 | #endif | ||
61 | { | 65 | { |
62 | /* | 66 | /* |
63 | * Fall back to the standard layout if the personality | 67 | * Fall back to the standard layout if the personality |