diff options
| author | Jason Baron <[email protected]> | 2016-08-03 20:46:36 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-08-04 12:50:07 +0000 |
| commit | 1f69bf9c6137602cd028c96b4f8329121ec89231 (patch) | |
| tree | 0ea0db8df6f0ce830a3f3e83c52368785ccadc56 /lib/dynamic_debug.c | |
| parent | arm: jump label may reference text in __exit (diff) | |
| download | kernel-1f69bf9c6137602cd028c96b4f8329121ec89231.tar.gz kernel-1f69bf9c6137602cd028c96b4f8329121ec89231.zip | |
jump_label: remove bug.h, atomic.h dependencies for HAVE_JUMP_LABEL
The current jump_label.h includes bug.h for things such as WARN_ON().
This makes the header problematic for inclusion by kernel.h or any
headers that kernel.h includes, since bug.h includes kernel.h (circular
dependency). The inclusion of atomic.h is similarly problematic. Thus,
this should make jump_label.h 'includable' from most places.
Link: http://lkml.kernel.org/r/7060ce35ddd0d20b33bf170685e6b0fab816bdf2.1467837322.git.jbaron@akamai.com
Signed-off-by: Jason Baron <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Chris Metcalf <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
