提交 012914da 编写于 作者: R Russ Anderson 提交者: Tony Luck

[patch] MCA recovery module undefined symbol fix

The patch "MCA recovery improvements" added do_exit to mca_drv.c.
That's fine when the mca recovery code is built in the kernel
(CONFIG_IA64_MCA_RECOVERY=y) but breaks building the mca recovery
code as a module (CONFIG_IA64_MCA_RECOVERY=m).

Most users are currently building this as a module, as loading
and unloading the module provides a very convenient way to turn
on/off error recovery.

This patch exports do_exit, so mca_drv.c can build as a module.

Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 3ea8b477
...@@ -846,6 +846,8 @@ fastcall NORET_TYPE void do_exit(long code) ...@@ -846,6 +846,8 @@ fastcall NORET_TYPE void do_exit(long code)
for (;;) ; for (;;) ;
} }
EXPORT_SYMBOL_GPL(do_exit);
NORET_TYPE void complete_and_exit(struct completion *comp, long code) NORET_TYPE void complete_and_exit(struct completion *comp, long code)
{ {
if (comp) if (comp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册