Commit 8dea82e7 authored by Andreas Schwab's avatar Andreas Schwab Committed by David Mosberger

[PATCH] The kernel cannot cope with modules without unwind data, which happens

with data-only modules like the fs/nls modules when compiling with gcc
3.1.  This patch fixes the problem.
parent d7c5d14c
...@@ -51,6 +51,9 @@ ia64_module_init (struct module *mod) ...@@ -51,6 +51,9 @@ ia64_module_init (struct module *mod)
return 0; return 0;
archdata = (struct archdata *)(mod->archdata_start); archdata = (struct archdata *)(mod->archdata_start);
if (archdata->unw_start == 0)
return 0;
/* /*
* Make sure the unwind pointers are sane. * Make sure the unwind pointers are sane.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment