linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] make slub.c:slab_address() static
@ 2008-02-13 21:30 Adrian Bunk
  2008-02-13 21:34 ` Pekka Enberg
  2008-02-13 22:21 ` Christoph Lameter
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
  To: clameter, penberg; +Cc: linux-mm, linux-kernel

slab_address() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
fdd710f00d8bed8413c160685bc5229ec15b4d9f diff --git a/mm/slub.c b/mm/slub.c
index e2989ae..af83daf 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;
 }

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-13 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] make slub.c:slab_address() static Adrian Bunk
2008-02-13 21:34 ` Pekka Enberg
2008-02-13 22:21 ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).