aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r--mm/mempolicy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index ad864f8708b0..b917d6fdc1bb 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1707,8 +1707,8 @@ void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new)
1707 * Display pages allocated per node and memory policy via /proc. 1707 * Display pages allocated per node and memory policy via /proc.
1708 */ 1708 */
1709 1709
1710static const char *policy_types[] = { "default", "prefer", "bind", 1710static const char * const policy_types[] =
1711 "interleave" }; 1711 { "default", "prefer", "bind", "interleave" };
1712 1712
1713/* 1713/*
1714 * Convert a mempolicy into a string. 1714 * Convert a mempolicy into a string.