lkml.org 
[lkml]   [2016]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] convert dynamic_debug to use jump labels
Date
Hi,

In the course of adding jump label support to dynamic_debug (patch #4), I
found the inclusion of <linux/bug.h> by <linux/jump_label.h> to problematic b/c
it includes <linux/kernel.h> (thus, creating circular include dependencies).
Thus, I've removed the dependencies from jump_label.h on bug.h and atomic.h
so that it should be includable from mostly anywhere. There were a couple of
arch specific changes for powerpc (patch #2) and s390 (patch #3) that fell out
as well...hopefully this version compiles everywhere.

Thanks,

-Jason

Jason Baron (4):
jump_label: remove bug.h, atomic.h dependencies for HAVE_JUMP_LABEL
powerpc: add explicit #include <asm/asm-compat.h> for jump label
s390: add explicit <linux/stringify.h> for jump label
dynamic_debug: add jump label support

arch/powerpc/include/asm/jump_label.h | 1 +
arch/s390/include/asm/jump_label.h | 1 +
include/linux/dynamic_debug.h | 60 +++++++++++++++++++++++++++++++----
include/linux/jump_label.h | 50 +++++++++++++++++------------
kernel/jump_label.c | 48 ++++++++++++++++++++++++++++
lib/dynamic_debug.c | 7 ++++
6 files changed, 141 insertions(+), 26 deletions(-)

--
2.6.1

\
 
 \ /
  Last update: 2016-05-20 23:41    [W:0.076 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site