From: Hugh Dickins shmem.c was named and shamed in Jesper's "Building 100 kernels" warnings: shmem_parse_mpol is only used when CONFIG_TMPFS parses mount options; and only called from that one site, so mark it inline like its non-NUMA stub. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton --- mm/shmem.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/shmem.c~shmem-inline-to-avoid-warning mm/shmem.c --- devel/mm/shmem.c~shmem-inline-to-avoid-warning 2006-02-27 17:22:07.000000000 -0800 +++ devel-akpm/mm/shmem.c 2006-02-27 17:22:07.000000000 -0800 @@ -875,7 +875,7 @@ redirty: } #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; _