summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/pci.h
diff options
context:
space:
mode:
authorGerd Bayer <gbayer@linux.ibm.com>2024-01-09 19:22:39 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-02-20 16:37:32 +0300
commit0d48566d4b58946c8e1b0baac0347616060a81c9 (patch)
treef75ea34a42becc5d8a5a20032481b129bdd849b8 /arch/s390/include/asm/pci.h
parent29f6fe17f3eb14d490ba27f8b9d0cbd766bd9158 (diff)
downloadlinux-0d48566d4b58946c8e1b0baac0347616060a81c9.tar.xz
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/include/asm/pci.h')
-rw-r--r--arch/s390/include/asm/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h
index e91cd6bbc330..a54c2cc88c47 100644
--- a/arch/s390/include/asm/pci.h
+++ b/arch/s390/include/asm/pci.h
@@ -142,7 +142,6 @@ struct zpci_dev {
u8 reserved : 2;
unsigned int devfn; /* DEVFN part of the RID*/
- struct mutex lock;
u8 pfip[CLP_PFIP_NR_SEGMENTS]; /* pci function internal path */
u32 uid; /* user defined id */
u8 util_str[CLP_UTIL_STR_LEN]; /* utility string */
@@ -170,6 +169,7 @@ struct zpci_dev {
u64 dma_mask; /* DMA address space mask */
/* Function measurement block */
+ struct mutex fmb_lock;
struct zpci_fmb *fmb;
u16 fmb_update; /* update interval */
u16 fmb_length;