diff options
author | Marc Zyngier <[email protected]> | 2017-10-03 18:14:13 +0100 |
---|---|---|
committer | Pawel Moll <[email protected]> | 2017-12-04 16:56:43 +0000 |
commit | 4608af8aa53e7f3922ddee695d023b7bcd5cb35b (patch) | |
tree | cb83385efc4205ba08196961b4d9e35283d41974 /net | |
parent | b18c2b9487d8e797fc0a757e57ac3645348c5fba (diff) |
bus: arm-cci: Fix use of smp_processor_id() in preemptible context
The ARM CCI driver seem to be using smp_processor_id() in a
preemptible context, which is likely to make a DEBUG_PREMPT
kernel scream at boot time.
Turn this into a get_cpu()/put_cpu() that extends over the CPU
hotplug registration, making sure that we don't race against
a CPU down operation.
Signed-off-by: Marc Zyngier <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: [email protected] # 4.2+
Signed-off-by: Pawel Moll <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions