* problem init_mm undefined on arm
@ 2016-09-30 13:08 Oscar Salvador
0 siblings, 0 replies; only message in thread
From: Oscar Salvador @ 2016-09-30 13:08 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-30 13:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-30 13:08 problem init_mm undefined on arm Oscar Salvador
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).