projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6528a
)
slob: make slob_alloc_node() static and remove EXPORT_SYMBOL()
author
Fabian Frederick
<
[email protected]
>
Tue, 14 Apr 2015 22:44:34 +0000
(15:44 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 14 Apr 2015 23:48:59 +0000
(16:48 -0700)
slob_alloc_node() is only used in slob.c. Remove the EXPORT_SYMBOL and
make slob_alloc_node() static.
Signed-off-by: Fabian Frederick <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
Cc: Pekka Enberg <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Cc: Joonsoo Kim <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/slob.c
patch
|
blob
|
history
diff --git
a/mm/slob.c
b/mm/slob.c
index 94a7fede6d4878942c3454afbac59210305d7dfb..4765f65019c733a558b2cb6e5063db50e8dcf5ca 100644
(file)
--- a/
mm/slob.c
+++ b/
mm/slob.c
@@
-532,7
+532,7
@@
int __kmem_cache_create(struct kmem_cache *c, unsigned long flags)
return 0;
}
-void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
+
static
void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
{
void *b;
@@
-558,7
+558,6
@@
void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
kmemleak_alloc_recursive(b, c->size, 1, c->flags, flags);
return b;
}
-EXPORT_SYMBOL(slob_alloc_node);
void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)
{