kmemtrace: move #include lines
authorIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 14:29:04 +0000 (15:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Dec 2008 05:56:21 +0000 (06:56 +0100)
Impact: avoid conflicts with kmemcheck

kmemcheck modifies the same area of slab.c and slub.c - move the
include lines up a bit.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/slab.c
mm/slub.c

index b6d9b8cdefa9f60ffe61d64b49557c321d5ebe71..bcf08ea88380f634318cca475785abe7fbd09030 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
 #include       <linux/cpu.h>
 #include       <linux/sysctl.h>
 #include       <linux/module.h>
+#include       <linux/kmemtrace.h>
 #include       <linux/rcupdate.h>
 #include       <linux/string.h>
 #include       <linux/uaccess.h>
 #include       <linux/rtmutex.h>
 #include       <linux/reciprocal_div.h>
 #include       <linux/debugobjects.h>
-#include       <linux/kmemtrace.h>
 
 #include       <asm/cacheflush.h>
 #include       <asm/tlbflush.h>
index 4cd7bfd2ab2c1fe45c80f360db744d006ec95d05..cc4001fee7ac4027fb0d224e85670897072bbcc6 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
+#include <linux/kmemtrace.h>
 #include <linux/cpu.h>
 #include <linux/cpuset.h>
 #include <linux/mempolicy.h>
@@ -24,7 +25,6 @@
 #include <linux/kallsyms.h>
 #include <linux/memory.h>
 #include <linux/math64.h>
-#include <linux/kmemtrace.h>
 
 /*
  * Lock order: