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
_______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
