Re: Proposed patch to kernel.h

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Fri May 30 2003 - 03:10:34 EST


In message <16085.64995.7031.949757@xxxxxxxxxxxxxxxxxxx> you write:
> That meant that I needed to use find_sec(), which was static in
> kernel/module.c (to find the __bug_table section), so I renamed it to
> elf_find_sec() and made it externally accessible (once again at
> Rusty's suggestion).
>
> Tested OK on ppc, and compile-tested on x86 successfully.
>
> How does this look?

Looks fine to me. If every arch goes this way in 2.7 (say) we can
fold it back into kernel/module.c like we do for exception tables.

Cheers,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/