]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Revert "mm/sl[aou]b: Move kmalloc definitions to slab.h"
authorPekka Enberg <penberg@kernel.org>
Wed, 10 Jul 2013 06:56:49 +0000 (09:56 +0300)
committerPekka Enberg <penberg@kernel.org>
Wed, 10 Jul 2013 06:56:49 +0000 (09:56 +0300)
commit35be03cafb8f5ddcc1236e90144b6ec76296b789
treed38c64dc10032b5516bf3dcb06da15f46d32cd74
parent03a9620933f71dec52752214165353724b8c51e1
Revert "mm/sl[aou]b: Move kmalloc definitions to slab.h"

This reverts commit 590a63973e364be0dab35ddbdc18b3ad5f386aed.

Stephen Rothwell writes:

After merging the slab tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/slab.h:17:0,
                 from include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:8:
include/linux/kmemleak.h: In function 'kmemleak_alloc_recursive':
include/linux/kmemleak.h:44:16: error: 'SLAB_NOLEAKTRACE' undeclared (first use in this function)
  if (!(flags & SLAB_NOLEAKTRACE))
                ^
include/linux/kmemleak.h: In function 'kmemleak_free_recursive':
include/linux/kmemleak.h:50:16: error: 'SLAB_NOLEAKTRACE' undeclared (first use in this function)
  if (!(flags & SLAB_NOLEAKTRACE))
                ^

Probably caused by commit 590a63973e36 ("mm/sl[aou]b: Move kmalloc
definitions to slab.h").

I have used the slab tree from next-20130709 for today.

And, yes, I am a little annoyed by this.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slab.h
include/linux/slab_def.h
include/linux/slob_def.h [new file with mode: 0644]
include/linux/slub_def.h
mm/slab.c