]> git.baikalelectronics.ru Git - kernel.git/commit
mm: constify nmask argument to mbind()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 4 Jun 2014 23:07:57 +0000 (16:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:03 +0000 (16:54 -0700)
commitcf37a9e3c4d5c83d4774af6b0bb57dde1009dc13
tree42be5cf168124aa24fafe7768a5bba73c059d610
parentc405290f4b68e244d99f01ae5fd603e3b6067d2f
mm: constify nmask argument to mbind()

The nmask argument to mbind() is const according to the userspace 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>
Acked-by: Rik van Riel <riel@redhat.com>
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