From: James Hogan <james.hogan@imgtec.com>
To: <linux-kernel@vger.kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>, James Hogan <james.hogan@imgtec.com>
Subject: [PATCH 6/6] metag: cleanup metag_ksyms.c includes
Date: Fri, 15 Feb 2013 10:41:41 +0000 [thread overview]
Message-ID: <1360924901-21404-7-git-send-email-james.hogan@imgtec.com> (raw)
In-Reply-To: <1360924901-21404-1-git-send-email-james.hogan@imgtec.com>
Minimise metag_ksyms.c includes to directly include the <asm/*.h> files
that declare a particular symbol, and not include any unnecessary ones.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
---
arch/metag/kernel/metag_ksyms.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/metag/kernel/metag_ksyms.c b/arch/metag/kernel/metag_ksyms.c
index 559ea6f..08e9b6f 100644
--- a/arch/metag/kernel/metag_ksyms.c
+++ b/arch/metag/kernel/metag_ksyms.c
@@ -1,12 +1,9 @@
#include <linux/export.h>
-#include <linux/linkage.h>
-#include <linux/string.h>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
-#include <linux/hardirq.h>
-#include <asm/checksum.h>
+#include <asm/div64.h>
#include <asm/ftrace.h>
+#include <asm/page.h>
+#include <asm/string.h>
#include <asm/tbx.h>
EXPORT_SYMBOL(clear_page);
--
1.7.7.6
prev parent reply other threads:[~2013-02-15 10:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 10:41 [PATCH 0/6] metag: metag_ksyms.c cleanup James Hogan
2013-02-15 10:41 ` [PATCH 1/6] metag: move traps.c exports out of metag_ksyms.c James Hogan
2013-02-15 10:41 ` [PATCH 2/6] metag: move kick.c " James Hogan
2013-02-15 10:41 ` [PATCH 3/6] metag: move setup.c " James Hogan
2013-02-15 10:41 ` [PATCH 4/6] metag: move usercopy.c " James Hogan
2013-02-15 10:41 ` [PATCH 5/6] metag: move mm/init.c " James Hogan
2013-02-15 10:41 ` James Hogan [this message]
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=1360924901-21404-7-git-send-email-james.hogan@imgtec.com \
--to=james.hogan@imgtec.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®