diff options
Diffstat (limited to 'arch/arm64/mm/mmap.c')
-rw-r--r-- | arch/arm64/mm/mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/mm/mmap.c b/arch/arm64/mm/mmap.c index ba776c01b552..ed177475dd8c 100644 --- a/arch/arm64/mm/mmap.c +++ b/arch/arm64/mm/mmap.c | |||
@@ -47,7 +47,7 @@ static int mmap_is_legacy(void) | |||
47 | return sysctl_legacy_va_layout; | 47 | return sysctl_legacy_va_layout; |
48 | } | 48 | } |
49 | 49 | ||
50 | static unsigned long mmap_rnd(void) | 50 | unsigned long arch_mmap_rnd(void) |
51 | { | 51 | { |
52 | unsigned long rnd; | 52 | unsigned long rnd; |
53 | 53 | ||
@@ -77,7 +77,7 @@ void arch_pick_mmap_layout(struct mm_struct *mm) | |||
77 | unsigned long random_factor = 0UL; | 77 | unsigned long random_factor = 0UL; |
78 | 78 | ||
79 | if (current->flags & PF_RANDOMIZE) | 79 | if (current->flags & PF_RANDOMIZE) |
80 | random_factor = mmap_rnd(); | 80 | random_factor = arch_mmap_rnd(); |
81 | 81 | ||
82 | /* | 82 | /* |
83 | * Fall back to the standard layout if the personality bit is set, or | 83 | * Fall back to the standard layout if the personality bit is set, or |