File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ extern int sysctl_legacy_va_layout;
86
86
87
87
#ifdef CONFIG_HAVE_ARCH_MMAP_RND_BITS
88
88
extern const int mmap_rnd_bits_min ;
89
- extern const int mmap_rnd_bits_max ;
89
+ extern int mmap_rnd_bits_max __ro_after_init ;
90
90
extern int mmap_rnd_bits __read_mostly ;
91
91
#endif
92
92
#ifdef CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS
Original file line number Diff line number Diff line change 64
64
65
65
#ifdef CONFIG_HAVE_ARCH_MMAP_RND_BITS
66
66
const int mmap_rnd_bits_min = CONFIG_ARCH_MMAP_RND_BITS_MIN ;
67
- const int mmap_rnd_bits_max = CONFIG_ARCH_MMAP_RND_BITS_MAX ;
67
+ int mmap_rnd_bits_max __ro_after_init = CONFIG_ARCH_MMAP_RND_BITS_MAX ;
68
68
int mmap_rnd_bits __read_mostly = CONFIG_ARCH_MMAP_RND_BITS ;
69
69
#endif
70
70
#ifdef CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS
You can’t perform that action at this time.
0 commit comments