diff options
author | Julia Cartwright <julia@ni.com> | 2018-08-03 19:42:33 -0500 |
---|---|---|
committer | Julia Cartwright <julia@ni.com> | 2018-08-03 19:42:33 -0500 |
commit | fc6990cc892dccae554885b2855ff52a1d4a20b6 (patch) | |
tree | 42367d7d1feeed32583f0aa4798c28831a9c5b64 /drivers/acpi/acpi_pad.c | |
parent | 3bafcb69f5f2f53a97b12e31fe401efea214a9dc (diff) | |
parent | 5b90d559d4d5c8fd2127013666014595caa53ae2 (diff) | |
download | linux-rt-fc6990cc892dccae554885b2855ff52a1d4a20b6.tar.gz |
Merge tag 'v4.9.104' into v4.9-rt
This is the 4.9.104 stable release
Diffstat (limited to 'drivers/acpi/acpi_pad.c')
-rw-r--r-- | drivers/acpi/acpi_pad.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index eb76a4c10dbf..8ce203f84ec4 100644 --- a/drivers/acpi/acpi_pad.c +++ b/drivers/acpi/acpi_pad.c @@ -109,6 +109,7 @@ static void round_robin_cpu(unsigned int tsk_index) cpumask_andnot(tmp, cpu_online_mask, pad_busy_cpus); if (cpumask_empty(tmp)) { mutex_unlock(&round_robin_lock); + free_cpumask_var(tmp); return; } for_each_cpu(cpu, tmp) { @@ -126,6 +127,8 @@ static void round_robin_cpu(unsigned int tsk_index) mutex_unlock(&round_robin_lock); set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); + + free_cpumask_var(tmp); } static void exit_round_robin(unsigned int tsk_index) |