* [PATCH] Fix for module.c in current linus-2.5 BK
@ 2003-04-02 17:55 Art Haas
0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-04-02 17:55 UTC (permalink / raw)
To: linux-kernel; +Cc: Linus Torvalds
Hi.
It looks like the problem is a missing "k". The field "num_syms" is only
defined if CONFIG_KALLSYMS is defined.
Art Haas
===== kernel/module.c 1.72 vs edited =====
--- 1.72/kernel/module.c Mon Mar 24 19:31:40 2003
+++ edited/kernel/module.c Wed Apr 2 11:27:34 2003
@@ -1273,7 +1273,7 @@
goto cleanup;
/* Set up EXPORTed & EXPORT_GPLed symbols (section 0 is 0 length) */
- mod->num_syms = sechdrs[exportindex].sh_size / sizeof(*mod->syms);
+ mod->num_ksyms = sechdrs[exportindex].sh_size / sizeof(*mod->syms);
mod->syms = (void *)sechdrs[exportindex].sh_addr;
if (crcindex)
mod->crcs = (void *)sechdrs[crcindex].sh_addr;
--
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-02 17:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 17:55 [PATCH] Fix for module.c in current linus-2.5 BK Art Haas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.