diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-27 14:29:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-27 14:39:25 -0400 |
commit | f0f37e2f77731b3473fa6bd5ee53255d9a9cdb40 (patch) | |
tree | 3c26d3ed1a453156e9c208ccb5567a8954dba064 /arch/ia64/ia32 | |
parent | 6f5071020d5ec89b5d095aa488db604adb921aec (diff) |
const: mark struct vm_struct_operations
* mark struct vm_area_struct::vm_ops as const
* mark vm_ops in AGP code
But leave TTM code alone, something is fishy there with global vm_ops
being used.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/ia32')
-rw-r--r-- | arch/ia64/ia32/binfmt_elf32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/ia32/binfmt_elf32.c b/arch/ia64/ia32/binfmt_elf32.c index f92bdaac8976..c69552bf893e 100644 --- a/arch/ia64/ia32/binfmt_elf32.c +++ b/arch/ia64/ia32/binfmt_elf32.c | |||
@@ -69,11 +69,11 @@ ia32_install_gate_page (struct vm_area_struct *vma, struct vm_fault *vmf) | |||
69 | } | 69 | } |
70 | 70 | ||
71 | 71 | ||
72 | static struct vm_operations_struct ia32_shared_page_vm_ops = { | 72 | static const struct vm_operations_struct ia32_shared_page_vm_ops = { |
73 | .fault = ia32_install_shared_page | 73 | .fault = ia32_install_shared_page |
74 | }; | 74 | }; |
75 | 75 | ||
76 | static struct vm_operations_struct ia32_gate_page_vm_ops = { | 76 | static const struct vm_operations_struct ia32_gate_page_vm_ops = { |
77 | .fault = ia32_install_gate_page | 77 | .fault = ia32_install_gate_page |
78 | }; | 78 | }; |
79 | 79 | ||