It appears that I can no longer build cmemk.ko under -rc7 (not sure about
-rc5, but I think I was able to).  cmemk.ko builds OK, but when attempting
to insmod it, it complains about 'Unknown symbol init_mm'.
I've found a couple hits Googling that CONFIG_UNUSED_SYMBOLS needs to be
set, and it is.  The symbol does not appear in /proc/kallsyms.

Since I didn't know what I was really doing, I added EXPORT_SYM(init_mm) to
arch/arm/kernel/init_task.c and recompiled.  insmod started reporting 'no
symbol version for init_mm' along with the unknown symbol message.

What do I need to do to export this symbol correctly to make cmemk.ko load
happily.  I'm content with a hackish solution for the moment, because
getting a demo up for some folks is paramount.

Thanks,
--jc
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to