]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/mempolicy.c: use enum value MPOL_REBIND_ONCE in mpol_rebind_policy()
authorWang Sheng-Hui <shhuiw@gmail.com>
Wed, 25 Apr 2012 01:03:29 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:17 +0000 (15:17 +1000)
commit2d39d8a0ddc58a8d525e0d23d28b29c03005733f
treece117e185690f971c822a9bab472fb84508a6d96
parente1bcd967d045785e311696b59bd3bb1e8ef8ee33
mm/mempolicy.c: use enum value MPOL_REBIND_ONCE in mpol_rebind_policy()

We have enum definition in mempolicy.h: MPOL_REBIND_ONCE.  It should
replace the magic number 0 for step comparison in function
mpol_rebind_policy.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempolicy.c