Oh gawd. Here's what happened..
We have these magical symbols which describe the offset of
a member of the per-cpu storage, which need to be exposed
to modules. So I added an EXPORT_PER_CPU_SYMBOL() helper:
#define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(var##__per_cpu)
#define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(var##__per_cpu)
Which works OK without module versioning. But with module versioning,
genksyms goes looking through source files for "EXPORT_SYMBOL". Which
isn't there.
So sigh. Need to go back to the drawing board on that one. In
the meantime, this should work?
--- 25/mm/page_alloc.c~genksyms-hurts Fri Nov 1 11:47:42 2002
+++ 25-akpm/mm/page_alloc.c Fri Nov 1 11:47:53 2002
@@ -650,7 +650,7 @@ unsigned int nr_free_highpages (void)
* during and after execution of this function.
*/
DEFINE_PER_CPU(struct page_state, page_states) = {0};
-EXPORT_PER_CPU_SYMBOL(page_states);
+EXPORT_SYMBOL(page_states__per_cpu);
void __get_page_state(struct page_state *ret, int nr)
{
.
-
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/