.. | .. |
---|
131 | 131 | *entry |= ZPCI_TABLE_VALID; |
---|
132 | 132 | } |
---|
133 | 133 | |
---|
134 | | -static inline void invalidate_table_entry(unsigned long *entry) |
---|
135 | | -{ |
---|
136 | | - *entry &= ~ZPCI_TABLE_VALID_MASK; |
---|
137 | | - *entry |= ZPCI_TABLE_INVALID; |
---|
138 | | -} |
---|
139 | | - |
---|
140 | 134 | static inline void invalidate_pt_entry(unsigned long *entry) |
---|
141 | 135 | { |
---|
142 | 136 | WARN_ON_ONCE((*entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_INVALID); |
---|
.. | .. |
---|
171 | 165 | static inline int pt_entry_isvalid(unsigned long entry) |
---|
172 | 166 | { |
---|
173 | 167 | 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; |
---|
179 | 168 | } |
---|
180 | 169 | |
---|
181 | 170 | static inline unsigned long *get_rt_sto(unsigned long entry) |
---|