mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
20fb654aef
commit
6c8e648385
7 changed files with 237 additions and 3 deletions
|
|
@ -1,3 +0,0 @@
|
|||
|
||||
/* empty file */
|
||||
|
||||
|
|
@ -7,4 +7,6 @@
|
|||
#define WRITE_ONCE(x, val) x=(val)
|
||||
#define RCU_INIT_POINTER(p, v) p=(v)
|
||||
|
||||
#define __packed __attribute__((packed))
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -52,4 +52,6 @@ static inline int lockdep_warn(int condition)
|
|||
#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; })
|
||||
#endif
|
||||
|
||||
#define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__)
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -18,4 +18,6 @@ static inline bool rcu_is_watching(void)
|
|||
return false;
|
||||
}
|
||||
|
||||
#define rcu_assign_pointer(p, v) ((p) = (v))
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue