summaryrefslogtreecommitdiffstats
path: root/include/module.h
Commit message (Collapse)AuthorAgeFilesLines
* module: Implement HAVE_MOD_ARCH_SPECIFICDavid Dgien2020-07-011-0/+7
| | | | | | | | | | Implement HAVE_MOD_ARCH_SPECIFIC Kconfig and module_frob_arch_sections() function prototype from Linux module subsystem. module_frob_arch_sections() should be implemented by any architecture that selects HAVE_MOD_ARCH_SPECIFIC, and is called from load_module() Signed-off-by: David Dgien <dgienda125@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* module: Add init macros to module.hDavid Dgien2020-07-011-0/+71
| | | | | | | | Port module initialization macros and initcall redefinition macros from Linux Signed-off-by: David Dgien <dgienda125@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* module.h: split out the EXPORT_SYMBOL into export.hMasahiro Yamada2020-05-121-27/+1
| | | | | | | Do as Linux commit f50169324df4ad942e544386d136216c8617636a Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include: add SPDX GPL-2.0-only license tags for files without licensing ↵Roland Hieber2020-02-171-0/+1
| | | | | | | | | | | information According to our /README, GPL-2.0-only applies for the whole project except noted otherwise. Signed-off-by: Roland Hieber <rohieb@rohieb.name> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* module.h: Add THIS_MODULEAlexander Stein2016-04-081-0/+1
| | | | | | | This is required by upcoming UBIFS update. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* module: move EXPORT_SYMBOL_GPL define to module.hJean-Christophe PLAGNIOL-VILLARD2010-08-301-0/+4
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove/adjust erroneous references to CONFIG_MODULE.Robert P. J. Day2009-12-211-1/+1
| | | | | | | | The correct config variable is CONFIG_MODULES, so tweak any references to the incorrect CONFIG_MODULE. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* list: remove duplicated list.hSascha Hauer2009-11-031-1/+1
| | | | | | | | We accidently have two list implementations in the tree: include/list.h and include/linux/list.h. This patch moves the latter (newer one) to include/linux/list.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add compiler header files from kernelSascha Hauer2008-08-131-1/+1
| | | | | | | Add include/linux/compiler*.h from Linux Kernel and remove old include/compiler.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move several commands into extra filesSascha Hauer2008-08-131-0/+7
| | | | | | move false, true, help, insmod, lsmod, version into extra files Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add big #ifdef CONFIG_MODULE around module.h to build architecturesSascha Hauer2007-10-111-5/+12
| | | | which do not have modules.
* __u_boot__symtab -> __usymtabSascha Hauer2007-10-071-5/+5
|
* CONFIG_MODULE -> CONFIG_MODULESSascha Hauer2007-10-041-1/+2
|
* Resolve the symbols using an extra section and only resolve explicitlySascha Hauer2007-10-011-0/+28
| | | | | | exported symbols. Using kallsyms for this purpose doesn't do it because kallsyms do not resolve variables. Also the symbol table gets quite big using kallsyms.
* Add module handling (mostly copied from Linux kernel and stripped downSascha Hauer2007-09-281-0/+39
for U-Boot)