diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2016-06-07 18:12:31 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-06-13 13:53:52 +0300 |
commit | faea645585de88303a74171321a9188fd3dd7df5 (patch) | |
tree | 9ae09b2d257e514c9fba988f7d48ae2e7a7f0ae5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d6ce564cea0c9f8fe7e1b400026482f4e61d38ad (diff) | |
download | linux-faea645585de88303a74171321a9188fd3dd7df5.tar.xz |
irqchip/gic: Add helper function for chip initialisation
For GICs that require runtime power-management it is necessary to
populate the 'parent_device' member of the irqchip structure. In
preparation for supporting such GICs, move the code that initialises
the irqchip structure for a GIC into its own function called
gic_init_chip() where the parent device pointer is also set.
Instead of calling gic_init_chip() from within gic_init_bases(), move
the calls to outside of this function, so that in the future we can
avoid having to pass additional parameters to gic_init_bases() in order
set the parent device pointer or set the name to a specific string.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions