OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eada35e
)
make slub.c:slab_address() static
author
Adrian Bunk
<bunk@kernel.org>
Wed, 13 Feb 2008 21:30:32 +0000
(23:30 +0200)
committer
Christoph Lameter
<christoph@stapp.engr.sgi.com>
Thu, 14 Feb 2008 23:30:01 +0000
(15:30 -0800)
slab_address() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index
7870ef9
..
1af7f2f
100644
(file)
--- 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;
}