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