aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2019-06-12 20:13:24 +0000
committerZhang Rui <[email protected]>2019-06-27 13:22:13 +0000
commit980af75ede4f36107b98aa5c247359b87c6afc30 (patch)
treeb89606fef59a940be991d4ddea6c5810cd97c9d3 /tools/perf/scripts/python
parentLinux 5.2-rc6 (diff)
downloadkernel-980af75ede4f36107b98aa5c247359b87c6afc30.tar.gz
kernel-980af75ede4f36107b98aa5c247359b87c6afc30.zip
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 <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions