tools/liblockdep: Use the rbtree header provided by common tools headers
authorSasha Levin <[email protected]>
Tue, 25 Aug 2015 05:19:45 +0000 (01:19 -0400)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
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"