problem init_mm undefined on arm

Oscar Salvador osalvador.vilardaga at
Fri Sep 30 09:08:30 EDT 2016


While testing a module on arm platforms, I got an error which disturbed me.

In my module I'm using pgd_offset_k [],
and this macro is  working for x86 and x86_64.

For arm platforms this macro is also defined here:

but I get this error while compiling the module on arm board:

WARNING: "init_mm" [module] undefined!

init_mm is first defined in
and then "exported" in

(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...

More information about the Kernelnewbies mailing list