diff options
Diffstat (limited to 'mm/debug_page_alloc.c')
-rw-r--r-- | mm/debug_page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/debug_page_alloc.c b/mm/debug_page_alloc.c index f9d145730f..6755f0c9d4 100644 --- a/mm/debug_page_alloc.c +++ b/mm/debug_page_alloc.c @@ -22,7 +22,7 @@ static int __init debug_guardpage_minorder_setup(char *buf) { unsigned long res; - if (kstrtoul(buf, 10, &res) < 0 || res > MAX_ORDER / 2) { + if (kstrtoul(buf, 10, &res) < 0 || res > MAX_PAGE_ORDER / 2) { pr_err("Bad debug_guardpage_minorder value\n"); return 0; } |