Searched hist:"980 af75ede4f36107b98aa5c247359b87c6afc30" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | thermal_core.h | diff 980af75ede4f36107b98aa5c247359b87c6afc30 Wed Jun 12 15:13:24 CDT 2019 Daniel Lezcano <daniel.lezcano@linaro.org> thermal/drivers/core: Add init section table for self-encapsulation
Currently the governors are declared in their respective files but they export their [un]register functions which in turn call the [un]register governors core's functions. That implies a cyclic dependency which is not desirable. There is a way to self-encapsulate the governors by letting them to declare themselves in a __init section table.
Define the table in the asm generic linker description like the other tables and provide the specific macros to deal with.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|
/openbmc/linux/include/asm-generic/ |
H A D | vmlinux.lds.h | diff 980af75ede4f36107b98aa5c247359b87c6afc30 Wed Jun 12 15:13:24 CDT 2019 Daniel Lezcano <daniel.lezcano@linaro.org> thermal/drivers/core: Add init section table for self-encapsulation
Currently the governors are declared in their respective files but they export their [un]register functions which in turn call the [un]register governors core's functions. That implies a cyclic dependency which is not desirable. There is a way to self-encapsulate the governors by letting them to declare themselves in a __init section table.
Define the table in the asm generic linker description like the other tables and provide the specific macros to deal with.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|