Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sasha Levin and committed by
Ingo Molnar
33fef662 62b989de

+1 -2
+1 -1
tools/lib/lockdep/preload.c
··· 5 5 #include <stdlib.h> 6 6 #include <sysexits.h> 7 7 #include "include/liblockdep/mutex.h" 8 - #include "../../../include/linux/rbtree.h" 8 + #include "../../include/linux/rbtree.h" 9 9 10 10 /** 11 11 * struct lock_lookup - liblockdep's view of a single unique lock
-1
tools/lib/lockdep/uinclude/linux/rbtree.h
··· 1 - #include "../../../include/linux/rbtree.h"