]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: constify nmask argument to set_mempolicy()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 14 May 2014 00:01:57 +0000 (10:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:01:57 +0000 (10:01 +1000)
commit6731bf420e935201ef3c1c846efaaafa35e119ee
treec7fc7b3e789c4a7159f3d28611b09667bf7a2715
parent2267403af6a6c216ee034b68d64cedfef4212375
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>
include/linux/syscalls.h
mm/mempolicy.c