From: Mathias Krause Date: Fri, 6 Jun 2014 21:37:36 +0000 (-0700) Subject: ipc: constify ipc_ops X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~4^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb66ec44f867834de054544b09b573de3a7ae456;p=pandora-kernel.git ipc: constify ipc_ops There is no need to recreate the very same ipc_ops structure on every kernel entry for msgget/semget/shmget. Just declare it static and be done with it. While at it, constify it as we don't modify the structure at runtime. Found in the PaX patch, written by the PaX Team. Signed-off-by: Mathias Krause Cc: PaX Team Cc: Davidlohr Bueso Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed