hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/include/asm/pci_dma.h
....@@ -131,12 +131,6 @@
131131 *entry |= ZPCI_TABLE_VALID;
132132 }
133133
134
-static inline void invalidate_table_entry(unsigned long *entry)
135
-{
136
- *entry &= ~ZPCI_TABLE_VALID_MASK;
137
- *entry |= ZPCI_TABLE_INVALID;
138
-}
139
-
140134 static inline void invalidate_pt_entry(unsigned long *entry)
141135 {
142136 WARN_ON_ONCE((*entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_INVALID);
....@@ -171,11 +165,6 @@
171165 static inline int pt_entry_isvalid(unsigned long entry)
172166 {
173167 return (entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_VALID;
174
-}
175
-
176
-static inline int entry_isprotected(unsigned long entry)
177
-{
178
- return (entry & ZPCI_TABLE_PROT_MASK) == ZPCI_TABLE_PROTECTED;
179168 }
180169
181170 static inline unsigned long *get_rt_sto(unsigned long entry)