mm: constify nmask argument to set_mempolicy()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 4 Jun 2014 23:07:58 +0000 (16:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:03 +0000 (16:54 -0700)
commit23c8902d403ef9a04cdc367d0b76a3ed6d83f5c5
tree060556fb56a1357f2d0a9cc017c6d15327488545
parentf7f28ca98b9a7a99fc55df2dddcf49857ab004f0
mm: constify nmask argument to set_mempolicy()

The nmask argument to set_mempolicy() is const according to the user-space
header numaif.h, and since the kernel does indeed not modify it, it might
as well be declared const in the kernel.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/syscalls.h
mm/mempolicy.c