Re: Proposed patch to kernel.h

Rusty Russell (rusty@rustcorp.com.au)
Fri, 30 May 2003 18:03:37 +1000


In message <16085.64995.7031.949757@argo.ozlabs.ibm.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/