]> 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, 12 Apr 2012 22:51:57 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:17 +0000 (13:47 +1000)
commit0d69bf7ff370df22811bff1b223c6c9a99cf843b
tree4f350cca0cec8b18f75608d06ff696baa68fe658
parente421bec85b28c4d1f127ef605d7665d553493cd9
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