提交 baab01b2 编写于 作者: P Paul Gortmaker 提交者: Ralf Baechle

MIPS: Don't use module.h just to export symbols in asm/uasm.h

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: NPaul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3450/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 4ca98d39
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <linux/types.h> #include <linux/types.h>
#ifdef CONFIG_EXPORT_UASM #ifdef CONFIG_EXPORT_UASM
#include <linux/module.h> #include <linux/export.h>
#define __uasminit #define __uasminit
#define __uasminitdata #define __uasminitdata
#define UASM_EXPORT_SYMBOL(sym) EXPORT_SYMBOL(sym) #define UASM_EXPORT_SYMBOL(sym) EXPORT_SYMBOL(sym)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册