mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 23:23:53 +02:00
kernel/sysctl.c: fix stable merge error in NOMMU mmap_min_addr
Stable commit 0399123f3d didn't match the
original upstream commit. The CONFIG_MMU check was added much too early
in the list disabling a lot of proc entries in the process.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
904e3733fd
commit
71c77079a7
|
|
@ -1200,7 +1200,6 @@ static struct ctl_table vm_table[] = {
|
|||
.extra2 = (void *)&hugetlb_infinity,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_MMU
|
||||
{
|
||||
.ctl_name = VM_LOWMEM_RESERVE_RATIO,
|
||||
.procname = "lowmem_reserve_ratio",
|
||||
|
|
@ -1346,6 +1345,7 @@ static struct ctl_table vm_table[] = {
|
|||
.strategy = &sysctl_jiffies,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_MMU
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "mmap_min_addr",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user