Messages in this thread | | | From | Rusty Russell <> | Subject | Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel paging request at ffff8800be8b0019 | Date | Tue, 2 Dec 2008 11:27:02 +1030 |
| |
On Tuesday 02 December 2008 07:21:03 Andrew Morton wrote: > The fault really lies with include/linux/kallsyms.h, I think: > > #define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) > + \ 2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)
Hmm... and I recently define MODULE_NAME_LEN in terms of MAX_PARAM_PREFIX_LEN for similar reasons.
Perhaps we should move MODULE_NAME_LEN to kernel.h and define everything in terms of that? It seems to be a common need.
Rusty.
| |