problem init_mm undefined on arm
Oscar Salvador
osalvador.vilardaga at gmail.com
Fri Sep 30 09:08:30 EDT 2016
Hi!
While testing a module on arm platforms, I got an error which disturbed me.
In my module I'm using pgd_offset_k [
http://lxr.free-electrons.com/source/arch/x86/include/asm/pgtable.h#L720],
and this macro is working for x86 and x86_64.
For arm platforms this macro is also defined here:
http://lxr.free-electrons.com/source/arch/arm/include/asm/pgtable.h#L182
but I get this error while compiling the module on arm board:
WARNING: "init_mm" [module] undefined!
init_mm is first defined in
http://lxr.free-electrons.com/source/mm/init-mm.c#L16
and then "exported" in
http://lxr.free-electrons.com/source/include/linux/sched.h#L2558
(I'm including this header)
Anyone knows how could I use pgd_offset_k in my module running on arm?
Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160930/5b02096b/attachment.html
More information about the Kernelnewbies
mailing list