[PATCH] struct seq_operations and struct file_operations constification
authorHelge Deller <deller@gmx.de>
Thu, 7 Dec 2006 04:40:36 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:46 +0000 (08:39 -0800)
commit15ad7cdcfd76450d4beebc789ec646664238184d
tree279d05a76ae0906c23ee2de8c5684d95d9886ad3
parent4a08a9f68168e547c2baf100020e9b96cae5fbd1
[PATCH] struct seq_operations and struct file_operations constification

 - move some file_operations structs into the .rodata section

 - move static strings from policy_types[] array into the .rodata section

 - fix generic seq_operations usages, so that those structs may be defined
   as "const" as well

[akpm@osdl.org: couple of fixes]
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 files changed:
fs/seq_file.c
include/linux/cpuset.h
include/linux/mmzone.h
include/linux/relay.h
include/linux/sched.h
include/linux/seq_file.h
kernel/configs.c
kernel/cpuset.c
kernel/dma.c
kernel/futex.c
kernel/kallsyms.c
kernel/lockdep_proc.c
kernel/module.c
kernel/power/user.c
kernel/profile.c
kernel/relay.c
kernel/resource.c
kernel/sched.c
kernel/sysctl.c
mm/mempolicy.c
mm/page_alloc.c
mm/shmem.c
mm/slab.c
mm/swapfile.c
mm/vmstat.c