diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-13 16:30:32 -0500 |
---|---|---|
committer | Christoph Lameter <christoph@stapp.engr.sgi.com> | 2008-02-14 18:30:01 -0500 |
commit | dada123d99c241d1a45798a7c77bcf99c4968704 (patch) | |
tree | 9ee99bc6067c8673880c1a6a2998a9ba61356de0 /mm | |
parent | eada35efcb2773cf49aa26277e056122e1a3405c (diff) |
make slub.c:slab_address() static
slab_address() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -308,7 +308,7 @@ static inline int is_end(void *addr) | |||
308 | return (unsigned long)addr & PAGE_MAPPING_ANON; | 308 | return (unsigned long)addr & PAGE_MAPPING_ANON; |
309 | } | 309 | } |
310 | 310 | ||
311 | void *slab_address(struct page *page) | 311 | static void *slab_address(struct page *page) |
312 | { | 312 | { |
313 | return page->end - PAGE_MAPPING_ANON; | 313 | return page->end - PAGE_MAPPING_ANON; |
314 | } | 314 | } |