You can simply remove the function that is referencing init_mm - show_pte() - since it's not called by any code.
Regards, - Rob ________________________________ From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of J.C. Wren Sent: Monday, September 07, 2009 7:20 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: Missing exported symbol init_mm 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 Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source