aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 76ac4db405e9..0f86feb6db0c 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -2253,7 +2253,7 @@ static void perf_mmap_close(struct vm_area_struct *vma)
2253 } 2253 }
2254} 2254}
2255 2255
2256static struct vm_operations_struct perf_mmap_vmops = { 2256static const struct vm_operations_struct perf_mmap_vmops = {
2257 .open = perf_mmap_open, 2257 .open = perf_mmap_open,
2258 .close = perf_mmap_close, 2258 .close = perf_mmap_close,
2259 .fault = perf_mmap_fault, 2259 .fault = perf_mmap_fault,