Skip to content
Commit 39a90865 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: pci: Use a generic raw spinlock for PCI config access locking.



This copies the pci_config_lock idea from x86 over, allowing us to kill
off a couple of existing private locks. At the same time, these need to
be converted to raw spinlocks for -rt kernels, so we make that change at
the same time. This should make it easier for future parts to get the
locking right instead of inevitable ending up with lock type mismatches.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent c524ebf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment