diff --git a/mm/shmem.c b/mm/shmem.c index f523a1533ce1c621f9d41bdc69c8f7dba7bd0927..37eaf42ed2c686541e4e1ef7a7a41afe736e7eb7 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -875,7 +875,7 @@ static int shmem_writepage(struct page *page, struct writeback_control *wbc) } #ifdef CONFIG_NUMA -static int shmem_parse_mpol(char *value, int *policy, nodemask_t *policy_nodes) +static inline int shmem_parse_mpol(char *value, int *policy, nodemask_t *policy_nodes) { char *nodelist = strchr(value, ':'); int err = 1;