diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-31 22:11:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-31 22:11:50 -0400 |
commit | e10994ff38ded64e4cd2267a6e404a4c8632bcf5 (patch) | |
tree | d930979f3df479a2a913d810bbef016bb145bf16 | |
parent | 5757bd6157f523ff0d448a4ec93938523ca441a9 (diff) | |
parent | 33fef662d20a8a98bafa6b2430b845def30f616a (diff) |
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull liblockdep fixes from Ingo Molnar:
"Three liblockdep fixes left over from the v4.2 cycle"
* 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tools/liblockdep: Use the rbtree header provided by common tools headers
tools/liblockdep: Correct macro for WARN
tools: Restore export.h
-rw-r--r-- | tools/include/linux/export.h | 10 | ||||
-rw-r--r-- | tools/lib/lockdep/preload.c | 2 | ||||
-rw-r--r-- | tools/lib/lockdep/uinclude/linux/kernel.h | 2 | ||||
-rw-r--r-- | tools/lib/lockdep/uinclude/linux/rbtree.h | 1 |
4 files changed, 12 insertions, 3 deletions
diff --git a/tools/include/linux/export.h b/tools/include/linux/export.h new file mode 100644 index 000000000000..d07e586b9ba0 --- /dev/null +++ b/tools/include/linux/export.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef _TOOLS_LINUX_EXPORT_H_ | ||
2 | #define _TOOLS_LINUX_EXPORT_H_ | ||
3 | |||
4 | #define EXPORT_SYMBOL(sym) | ||
5 | #define EXPORT_SYMBOL_GPL(sym) | ||
6 | #define EXPORT_SYMBOL_GPL_FUTURE(sym) | ||
7 | #define EXPORT_UNUSED_SYMBOL(sym) | ||
8 | #define EXPORT_UNUSED_SYMBOL_GPL(sym) | ||
9 | |||
10 | #endif | ||
diff --git a/tools/lib/lockdep/preload.c b/tools/lib/lockdep/preload.c index 0b0112c80f22..21cdf869a01b 100644 --- a/tools/lib/lockdep/preload.c +++ b/tools/lib/lockdep/preload.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <sysexits.h> | 6 | #include <sysexits.h> |
7 | #include "include/liblockdep/mutex.h" | 7 | #include "include/liblockdep/mutex.h" |
8 | #include "../../../include/linux/rbtree.h" | 8 | #include "../../include/linux/rbtree.h" |
9 | 9 | ||
10 | /** | 10 | /** |
11 | * struct lock_lookup - liblockdep's view of a single unique lock | 11 | * struct lock_lookup - liblockdep's view of a single unique lock |
diff --git a/tools/lib/lockdep/uinclude/linux/kernel.h b/tools/lib/lockdep/uinclude/linux/kernel.h index cd2cc59a5da7..276c7a8b2ed1 100644 --- a/tools/lib/lockdep/uinclude/linux/kernel.h +++ b/tools/lib/lockdep/uinclude/linux/kernel.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #define WARN_ON(x) (x) | 23 | #define WARN_ON(x) (x) |
24 | #define WARN_ON_ONCE(x) (x) | 24 | #define WARN_ON_ONCE(x) (x) |
25 | #define likely(x) (x) | 25 | #define likely(x) (x) |
26 | #define WARN(x, y, z) (x) | 26 | #define WARN(x, y...) (x) |
27 | #define uninitialized_var(x) x | 27 | #define uninitialized_var(x) x |
28 | #define __init | 28 | #define __init |
29 | #define noinline | 29 | #define noinline |
diff --git a/tools/lib/lockdep/uinclude/linux/rbtree.h b/tools/lib/lockdep/uinclude/linux/rbtree.h deleted file mode 100644 index 965901db4862..000000000000 --- a/tools/lib/lockdep/uinclude/linux/rbtree.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include "../../../include/linux/rbtree.h" | ||