Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
ERROR: "kmalloc_order" [drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko]
undefined!
Caused by commit a3ed1ed24850 ("mm: get rid of __GFP_KMEMCG").
I added the following patch:
From: Stephen Rothwell <[email protected]>
Date: Wed, 16 Apr 2014 15:32:54 +1000
Subject: [PATCH] mm: get rid of __GFP_KMEMCG fix
Signed-off-by: Stephen Rothwell <[email protected]>
---
mm/slab_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/slab_common.c b/mm/slab_common.c
index cab4c49b3e8c..edd10a8af69e 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -584,6 +584,7 @@ void *kmalloc_order(size_t size, gfp_t flags, unsigned int
order)
kmemleak_alloc(ret, size, 1, flags);
return ret;
}
+EXPORT_SYMBOL(kmalloc_order);
#ifdef CONFIG_TRACING
void *kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order)
--
1.9.2
--
Cheers,
Stephen Rothwell [email protected]
pgpfVQ5xtFebh.pgp
Description: PGP signature

