diff options
Diffstat (limited to 'mm/util.c')
| -rw-r--r-- | mm/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c index ac63e5ca8b21..0837570c9225 100644 --- a/mm/util.c +++ b/mm/util.c @@ -27,6 +27,7 @@ #include <linux/uaccess.h> #include "internal.h" +#include "swap.h" /** * kfree_const - conditionally free memory @@ -376,7 +377,7 @@ unsigned long randomize_page(unsigned long start, unsigned long range) } #ifdef CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT -unsigned long arch_randomize_brk(struct mm_struct *mm) +unsigned long __weak arch_randomize_brk(struct mm_struct *mm) { /* Is the current task 32bit ? */ if (!IS_ENABLED(CONFIG_64BIT) || is_compat_task()) |
