Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255049
b: refs/heads/master
c: 7ea466f
h: refs/heads/master
i:
  255047: cc40dfe
v: v3
  • Loading branch information
Tetsuo Handa authored and Pekka Enberg committed Jul 22, 2011
1 parent 460f1b7 commit 290e151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: b56efcf0a45aa7fc32de90d5f9838541082fbc19
refs/heads/master: 7ea466f2256b02a7047dfd47d76a2f6c1e427e3e
3 changes: 2 additions & 1 deletion trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -3155,7 +3155,8 @@ static void *cache_alloc_debugcheck_after(struct kmem_cache *cachep,
objp += obj_offset(cachep);
if (cachep->ctor && cachep->flags & SLAB_POISON)
cachep->ctor(objp);
if ((unsigned long)objp & (ARCH_SLAB_MINALIGN-1)) {
if (ARCH_SLAB_MINALIGN &&
((unsigned long)objp & (ARCH_SLAB_MINALIGN-1))) {
printk(KERN_ERR "0x%p: not aligned to ARCH_SLAB_MINALIGN=%d\n",
objp, (int)ARCH_SLAB_MINALIGN);
}
Expand Down

0 comments on commit 290e151

Please sign in to comment.