diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-13 22:30:32 +0100 |
---|---|---|
committer | Christoph Lameter <christoph@stapp.engr.sgi.com> | 2008-02-15 00:30:01 +0100 |
commit | dada123d99c241d1a45798a7c77bcf99c4968704 (patch) | |
tree | 9ee99bc6067c8673880c1a6a2998a9ba61356de0 /mm/slub.c | |
parent | slub: kmalloc page allocator pass-through cleanup (diff) | |
download | linux-dada123d99c241d1a45798a7c77bcf99c4968704.tar.xz linux-dada123d99c241d1a45798a7c77bcf99c4968704.zip |
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/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 7870ef9d8636..1af7f2f19420 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -308,7 +308,7 @@ static inline int is_end(void *addr) return (unsigned long)addr & PAGE_MAPPING_ANON; } -void *slab_address(struct page *page) +static void *slab_address(struct page *page) { return page->end - PAGE_MAPPING_ANON; } |