projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] Update documentation for flat device tree format v17
[powerpc.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index
70784b8
..
57f7aa4
100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-1042,7
+1042,7
@@
static void *alternate_node_alloc(struct kmem_cache *, gfp_t);
static struct array_cache **alloc_alien_cache(int node, int limit)
{
struct array_cache **ac_ptr;
static struct array_cache **alloc_alien_cache(int node, int limit)
{
struct array_cache **ac_ptr;
- int memsize = sizeof(void *) *
MAX_NUMNODES
;
+ int memsize = sizeof(void *) *
nr_node_ids
;
int i;
if (limit > 1)
int i;
if (limit > 1)
@@
-4026,7
+4026,7
@@
void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3,
/**
* cache_reap - Reclaim memory from caches.
/**
* cache_reap - Reclaim memory from caches.
- * @
unused: unused paramete
r
+ * @
w: work descripto
r
*
* Called from workqueue/eventd every few seconds.
* Purpose:
*
* Called from workqueue/eventd every few seconds.
* Purpose: