diff options
author | Hugh Dickins <hugh@veritas.com> | 2006-03-22 08:08:46 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 15:54:02 (GMT) |
commit | d15c023b44e5d323f1f4130b85d29f08e43433b1 (patch) | |
tree | f7153643b876b25f66e6e33ab2bbc670ba05a7f7 | |
parent | 6e5ef1a96e6e3b123da56292bc35017c8c401491 (diff) | |
download | linux-fsl-qoriq-d15c023b44e5d323f1f4130b85d29f08e43433b1.tar.xz |
[PATCH] shmem: inline to avoid warning
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 <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |