tools/liblockdep: Use the rbtree header provided by common tools headers
authorSasha Levin <sasha.levin@oracle.com>
Tue, 25 Aug 2015 05:19:45 +0000 (01:19 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Aug 2015 07:44:23 +0000 (09:44 +0200)
Recent changes to rbtree.h may break compilation. There is no
reason to use a liblockdep specific header to begin with, so
we'll use the one shared with all other tools/.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1440479985-6696-3-git-send-email-sasha.levin@oracle.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/lib/lockdep/preload.c
tools/lib/lockdep/uinclude/linux/rbtree.h [deleted file]

index 0b0112c80f22b390875799909ab567b42c66009e..21cdf869a01b8b7facc084c4dc66cf73afa163bb 100644 (file)
@@ -5,7 +5,7 @@
 #include <stdlib.h>
 #include <sysexits.h>
 #include "include/liblockdep/mutex.h"
-#include "../../../include/linux/rbtree.h"
+#include "../../include/linux/rbtree.h"
 
 /**
  * struct lock_lookup - liblockdep's view of a single unique lock
diff --git a/tools/lib/lockdep/uinclude/linux/rbtree.h b/tools/lib/lockdep/uinclude/linux/rbtree.h
deleted file mode 100644 (file)
index 965901d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../../include/linux/rbtree.h"