Skip to content

Commit

Permalink
make slub.c:slab_address() static
Browse files Browse the repository at this point in the history
slab_address() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
  • Loading branch information
Adrian Bunk authored and Christoph Lameter committed Feb 14, 2008
1 parent eada35e commit dada123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dada123

Please sign in to comment.