Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org, Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH 5/5] MIPS: dont use module.h just to export symbols in asm/uasm.h
Date: Tue, 28 Feb 2012 14:24:48 -0500	[thread overview]
Message-ID: <1330457088-14587-6-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1330457088-14587-1-git-send-email-paul.gortmaker@windriver.com>

Putting module.h into widely used headers just bogs cpp down
with reams of stuff that isn't needed.  Here, we only need
visibility to EXPORT_SYMBOL.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/mips/include/asm/uasm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h
index 504d40a..440a21d 100644
--- a/arch/mips/include/asm/uasm.h
+++ b/arch/mips/include/asm/uasm.h
@@ -11,7 +11,7 @@
 #include <linux/types.h>
 
 #ifdef CONFIG_EXPORT_UASM
-#include <linux/module.h>
+#include <linux/export.h>
 #define __uasminit
 #define __uasminitdata
 #define UASM_EXPORT_SYMBOL(sym) EXPORT_SYMBOL(sym)
-- 
1.7.9.1

  parent reply	other threads:[~2012-02-28 19:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 19:24 [PATCH 0/5] MIPS: module.h usage cleanup Paul Gortmaker
2012-02-28 19:24 ` [PATCH 1/5] serial: MIPS DECstation zs.c driver needs module.h Paul Gortmaker
2012-02-28 19:24 ` [PATCH 2/5] serial: MIPS swarm sb1250-duart.c " Paul Gortmaker
2012-02-28 19:24 ` [PATCH 3/5] MIPS: fix several implicit uses of export.h/module.h Paul Gortmaker
2012-02-28 19:24 ` [PATCH 4/5] MIPS: delete bogus module.h usage in termios.h Paul Gortmaker
2012-02-28 19:24 ` Paul Gortmaker [this message]
2012-03-06 19:08 ` [PATCH 0/5] MIPS: module.h usage cleanup Ralf Baechle
2012-03-06 19:20   ` Paul Gortmaker
2012-03-06 19:20     ` Paul Gortmaker

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=1330457088-14587-6-git-send-email-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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