diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4142,7 +4142,7 @@ static int s_show(struct seq_file *m, void *p) | |||
4142 | * + further values on SMP and with statistics enabled | 4142 | * + further values on SMP and with statistics enabled |
4143 | */ | 4143 | */ |
4144 | 4144 | ||
4145 | struct seq_operations slabinfo_op = { | 4145 | const struct seq_operations slabinfo_op = { |
4146 | .start = s_start, | 4146 | .start = s_start, |
4147 | .next = s_next, | 4147 | .next = s_next, |
4148 | .stop = s_stop, | 4148 | .stop = s_stop, |
@@ -4340,7 +4340,7 @@ static int leaks_show(struct seq_file *m, void *p) | |||
4340 | return 0; | 4340 | return 0; |
4341 | } | 4341 | } |
4342 | 4342 | ||
4343 | struct seq_operations slabstats_op = { | 4343 | const struct seq_operations slabstats_op = { |
4344 | .start = leaks_start, | 4344 | .start = leaks_start, |
4345 | .next = s_next, | 4345 | .next = s_next, |
4346 | .stop = s_stop, | 4346 | .stop = s_stop, |