From: Stephen Boyd <sboyd@codeaurora.org>
To: linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH 1/3] timer: Move debugobjects.h include to timer.c
Date: Fri, 6 Apr 2012 00:03:16 -0700 [thread overview]
Message-ID: <1333695798-2917-2-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1333695798-2917-1-git-send-email-sboyd@codeaurora.org>
There is no usage of debugobjects structures in timer.h so move
the include to timer.c. This avoids an include file circular
dependency if timer.h includes debugobjects.h which includes
jump_label.h (in a later patch) which includes workqueue.h which
includes timer.h.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
This should be good to apply regardless of the rest of this series.
include/linux/timer.h | 1 -
kernel/timer.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/timer.h b/include/linux/timer.h
index 6abd913..d7848ab 100644
--- a/include/linux/timer.h
+++ b/include/linux/timer.h
@@ -4,7 +4,6 @@
#include <linux/list.h>
#include <linux/ktime.h>
#include <linux/stddef.h>
-#include <linux/debugobjects.h>
#include <linux/stringify.h>
struct tvec_base;
diff --git a/kernel/timer.c b/kernel/timer.c
index a297ffc..aa0841c 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -40,6 +40,7 @@
#include <linux/irq_work.h>
#include <linux/sched.h>
#include <linux/slab.h>
+#include <linux/debugobjects.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2012-04-06 7:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-06 7:03 [RFC/PATCH 0/3] static keys for debugobjects Stephen Boyd
2012-04-06 7:03 ` Stephen Boyd [this message]
2012-04-06 7:03 ` [RFC/PATCH 2/3] init: Initialize jump_labels before early parameters Stephen Boyd
2012-04-06 7:03 ` [RFC/PATCH 3/3] debugobjects: Use static keys for debug_objects_enabled Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1333695798-2917-2-git-send-email-sboyd@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox