[PATCH] shmem: inline to avoid warning
commitd15c023b44e5d323f1f4130b85d29f08e43433b1
authorHugh Dickins <hugh@veritas.com>
Wed, 22 Mar 2006 08:08:46 +0000 (22 00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:02 +0000 (22 07:54 -0800)
treef7153643b876b25f66e6e33ab2bbc670ba05a7f7
parent6e5ef1a96e6e3b123da56292bc35017c8c401491
[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>
mm/shmem.c