aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2022-05-11 16:56:57 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-05-19 20:16:05 +0200
commit9c74f2ac4801473d03b0e29fab74eb94a9944521 (patch)
tree272950642c0be1fbc16a1b3e53d9420f5409a41b /scripts/gdb/linux/utils.py
parentPM: domains: Allocate gpd_timing_data dynamically based on governor (diff)
downloadwireguard-linux-9c74f2ac4801473d03b0e29fab74eb94a9944521.tar.xz
wireguard-linux-9c74f2ac4801473d03b0e29fab74eb94a9944521.zip
PM: domains: Move the next_wakeup variable into the struct gpd_timing_data
If the corresponding genpd for the device doesn't use a governor, the variable next_wakeup within the struct generic_pm_domain_data becomes superfluous. To avoid wasting memory, let's move it into the struct gpd_timing_data, which is already being allocated based upon if there is governor assigned. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions