aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2012-01-30 15:53:51 -0600
committerPekka Enberg <penberg@kernel.org>2012-02-10 14:47:39 +0200
commit4de900b4d6b2216b7443d32e263f5de9078697a3 (patch)
treef40db4068534208918ee53fb63bf13c5bd747af8 /mm/slub.c
parentslub: Do not hold slub_lock when calling sysfs_slab_add() (diff)
downloadlinux-dev-4de900b4d6b2216b7443d32e263f5de9078697a3.tar.xz
linux-dev-4de900b4d6b2216b7443d32e263f5de9078697a3.zip
slub: include include for prefetch
Otherwise m68k breaks: On Mon, 30 Jan 2012, Geert Uytterhoeven wrote: > m68k/allmodconfig at http://kisskb.ellerman.id.au/kisskb/buildresult/5527349/ > > mm/slub.c:274: error: implicit declaration of function 'prefetch' > > Sorry, didn't notice it earlier due to other build breakage in -next. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slub.c b/mm/slub.c
index bc7a8af24f16..b6666eb3d9c4 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -29,6 +29,7 @@
#include <linux/math64.h>
#include <linux/fault-inject.h>
#include <linux/stacktrace.h>
+#include <linux/prefetch.h>
#include <trace/events/kmem.h>