]> 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>
Thu, 3 May 2012 05:43:30 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:21 +0000 (15:46 +1000)
commit419de8735e00016cd8eb8b31fcbe3e801fdb97d6
tree914f0a19f495a126238130668083acf3171a49ac
parent24f03b3e3c551acad281ce3280f2c67a8ce48fe9
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