Parcourir la source

tools/liblockdep: Use the rbtree header provided by common tools headers

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>
Sasha Levin il y a 10 ans
Parent
commit
33fef662d2
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 1
      tools/lib/lockdep/preload.c
  2. 0 1
      tools/lib/lockdep/uinclude/linux/rbtree.h

+ 1 - 1
tools/lib/lockdep/preload.c

@@ -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

+ 0 - 1
tools/lib/lockdep/uinclude/linux/rbtree.h

@@ -1 +0,0 @@
-#include "../../../include/linux/rbtree.h"