diff options
| author | Victor Aoqui <[email protected]> | 2017-07-20 14:26:06 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-08-01 21:49:23 +1000 |
| commit | 75f327c6b75715f3a090daeb33e05003aaffb010 (patch) | |
| tree | 706f9ad972c7a968b4fd81d3c5cda532bd472f45 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 24be85a23d1fcdc72264a062a2e4ebaaea48feab (diff) | |
powerpc/kernel: Avoid preemption check in iommu_range_alloc()
Replace the __this_cpu_read() with raw_cpu_read() in
iommu_range_alloc(). Otherwise we get a warning about using
__this_cpu_read() in preemptible code:
BUG: using __this_cpu_read() in preemptible
caller is iommu_range_alloc+0xa8/0x3d0
Preemption doesn't need to be disabled since according to the comment
any CPU can safely use any IOMMU pool.
Signed-off-by: Victor Aoqui <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions