Andrey Ryabinin 753162cd84 mm: hugetlb: fix type of hugetlb_treat_as_movable variable
hugetlb_treat_as_movable declared as unsigned long, but
proc_dointvec() used for parsing it:

static struct ctl_table vm_table[] = {
...
        {
                .procname	= "hugepages_treat_as_movable",
                .data		= &hugepages_treat_as_movable,
                .maxlen		= sizeof(int),
                .mode		= 0644,
                .proc_handler	= proc_dointvec,
        },

This seems harmless, but it's better to use int type here.

Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-10 14:30:34 -08:00
..
2014-12-18 19:08:10 -08:00
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2014-12-08 20:25:23 -05:00
2014-01-27 21:02:39 -08:00
2014-10-29 10:34:34 -04:00
2015-02-10 14:30:30 -08:00
2015-01-26 13:37:18 -08:00
2015-02-10 14:30:30 -08:00
2014-08-29 16:28:16 -07:00