diff options
author | Levin, Alexander (Sasha Levin) <alexander.levin@verizon.com> | 2017-05-25 12:58:47 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-06-05 09:28:09 +0200 |
commit | 6c8e6483850e7a7e44fd584790969c308887c468 (patch) | |
tree | a22b5da6c662b1479f17b6fbfaf040f4a0881491 /tools/lib/lockdep/uinclude/linux/compiler.h | |
parent | 20fb654aef1c929f7befb40678e2cb65a77ead7f (diff) | |
download | linux-6c8e6483850e7a7e44fd584790969c308887c468.tar.gz linux-6c8e6483850e7a7e44fd584790969c308887c468.tar.xz |
tools/lib/lockdep: Fix compilation for 4.11
- More rcu stubs
- New dummy headers due to sched header split
- jhash2 included in due to kernel lockdep inclusion and usage
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: a.p.zijlstra@chello.nl
Cc: ben@decadent.org.uk
Link: http://lkml.kernel.org/r/20170525130005.5947-13-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/lockdep/uinclude/linux/compiler.h')
-rw-r--r-- | tools/lib/lockdep/uinclude/linux/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/compiler.h b/tools/lib/lockdep/uinclude/linux/compiler.h index fd3e56a83fc2..fba5e022cee7 100644 --- a/tools/lib/lockdep/uinclude/linux/compiler.h +++ b/tools/lib/lockdep/uinclude/linux/compiler.h @@ -7,4 +7,6 @@ #define WRITE_ONCE(x, val) x=(val) #define RCU_INIT_POINTER(p, v) p=(v) +#define __packed __attribute__((packed)) + #endif |