diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-06-06 23:37:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 01:08:14 +0200 |
commit | eb66ec44f867834de054544b09b573de3a7ae456 (patch) | |
tree | 4fabad7ced4ce6145d44e8e25bd6ee111712e9f8 /net/sctp/debug.c | |
parent | initramfs: remove "compression mode" choice (diff) | |
download | linux-eb66ec44f867834de054544b09b573de3a7ae456.tar.xz linux-eb66ec44f867834de054544b09b573de3a7ae456.zip |
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 <minipli@googlemail.com>
Cc: PaX Team <pageexec@freemail.hu>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sctp/debug.c')
0 files changed, 0 insertions, 0 deletions