Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215953
b: refs/heads/master
c: a5dd5c1
h: refs/heads/master
i:
  215951: 3162066
v: v3
  • Loading branch information
Namhyung Kim authored and Pekka Enberg committed Oct 2, 2010
1 parent 5b7bdb7 commit 54b2f80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62e346a83026a28526fc9799337bcc6154819f25
refs/heads/master: a5dd5c117cbf620378d693963ffc42239297fac4
7 changes: 3 additions & 4 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2433,9 +2433,8 @@ static void list_slab_objects(struct kmem_cache *s, struct page *page,
#ifdef CONFIG_SLUB_DEBUG
void *addr = page_address(page);
void *p;
long *map = kzalloc(BITS_TO_LONGS(page->objects) * sizeof(long),
GFP_ATOMIC);

unsigned long *map = kzalloc(BITS_TO_LONGS(page->objects) *
sizeof(long), GFP_ATOMIC);
if (!map)
return;
slab_err(s, page, "%s", text);
Expand Down Expand Up @@ -3660,7 +3659,7 @@ static int add_location(struct loc_track *t, struct kmem_cache *s,

static void process_slab(struct loc_track *t, struct kmem_cache *s,
struct page *page, enum track_item alloc,
long *map)
unsigned long *map)
{
void *addr = page_address(page);
void *p;
Expand Down

0 comments on commit 54b2f80

Please sign in to comment.