diff options
author | Gerd Bayer <gbayer@linux.ibm.com> | 2024-01-09 17:22:39 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-02-20 14:37:32 +0100 |
commit | 0d48566d4b58946c8e1b0baac0347616060a81c9 (patch) | |
tree | f75ea34a42becc5d8a5a20032481b129bdd849b8 /arch/s390/pci/pci.c | |
parent | 29f6fe17f3eb14d490ba27f8b9d0cbd766bd9158 (diff) | |
download | lwn-0d48566d4b58946c8e1b0baac0347616060a81c9.tar.gz lwn-0d48566d4b58946c8e1b0baac0347616060a81c9.zip |
s390/pci: rename lock member in struct zpci_dev
Since this guards only the Function Measurement Block, rename from
generic lock to fmb_lock in preparation to introduce another lock
that guards the state member
Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/pci/pci.c')
-rw-r--r-- | arch/s390/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 676ac74026a8..dff609e8a2a0 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -806,7 +806,7 @@ struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state) zdev->state = state; kref_init(&zdev->kref); - mutex_init(&zdev->lock); + mutex_init(&zdev->fmb_lock); mutex_init(&zdev->kzdev_lock); rc = zpci_init_iommu(zdev); |