mm: mark most vm_operations_struct const
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Wed, 9 Sep 2015 22:39:26 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit7cbea8dc0127a95226c7722a738ac6534950ef67
treef62735c2bb1e523ba3d65051967ecc1228742981
parent2a78b857d3755a6f8d0c70d7e365e473925987c1
mm: mark most vm_operations_struct const

With two exceptions (drm/qxl and drm/radeon) all vm_operations_struct
structs should be constant.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 files changed:
arch/x86/entry/vsyscall/vsyscall_64.c
drivers/android/binder.c
drivers/gpu/drm/vgem/vgem_drv.c
drivers/hsi/clients/cmt_speech.c
drivers/infiniband/hw/qib/qib_file_ops.c
drivers/infiniband/hw/qib/qib_mmap.c
drivers/media/platform/omap/omap_vout.c
drivers/misc/genwqe/card_dev.c
drivers/staging/android/ion/ion.c
drivers/staging/comedi/comedi_fops.c
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
drivers/xen/gntalloc.c
drivers/xen/gntdev.c
drivers/xen/privcmd.c
fs/ceph/addr.c
fs/cifs/file.c
security/selinux/selinuxfs.c