diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-02-05 19:41:58 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-02-20 14:34:54 +0300 |
commit | 0dc1a1851af1d593eee248b94c1277c7c7ccbbce (patch) | |
tree | f32aed65915b0416167c0ec6e867ce0a25fc2307 /scripts/coccicheck | |
parent | d3d5aac206b4e9e569a22fe1811c909dde17587c (diff) | |
download | linux-0dc1a1851af1d593eee248b94c1277c7c7ccbbce.tar.xz |
arm_pmu: add armpmu_alloc_atomic()
In ACPI systems, we don't know the makeup of CPUs until we hotplug them
on, and thus have to allocate the PMU datastructures at hotplug time.
Thus, we must use GFP_ATOMIC allocations.
Let's add an armpmu_alloc_atomic() that we can use in this case.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions