]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
module: use MODULE_SYMBOL_PREFIX with module_layout
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Jul 2009 14:12:08 +0000 (23:42 +0930)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Jul 2009 19:15:45 +0000 (12:15 -0700)
commit6560dc160f3a96b8f1f43e2c6b51aa6eb9898b90
treef6cd276df257ab3784a6eb3c47728c09f5d872e3
parent2bc20d09b03bca6e068e07440812d75b70b1c0b2
module: use MODULE_SYMBOL_PREFIX with module_layout

The check_modstruct_version() needs to look up the symbol "module_layout"
in the kernel, but it does so literally and not by a C identifier.  The
trouble is that it does not include a symbol prefix for those ports that
need it (like the Blackfin and H8300 port).  So make sure we tack on the
MODULE_SYMBOL_PREFIX define to the front of it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module.c