| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # The ARCH_INLINE foo is necessary because select ignores "depends on" |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 100 | 101 | # unlock and unlock_irq functions are inlined when: |
|---|
| 101 | 102 | # - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y |
|---|
| 102 | 103 | # or |
|---|
| 103 | | -# - DEBUG_SPINLOCK=n and PREEMPT=n |
|---|
| 104 | +# - DEBUG_SPINLOCK=n and PREEMPTION=n |
|---|
| 104 | 105 | # |
|---|
| 105 | 106 | # unlock_bh and unlock_irqrestore functions are inlined when: |
|---|
| 106 | 107 | # - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y |
|---|
| .. | .. |
|---|
| 138 | 139 | |
|---|
| 139 | 140 | config INLINE_SPIN_UNLOCK_IRQ |
|---|
| 140 | 141 | def_bool y |
|---|
| 141 | | - depends on !PREEMPT || ARCH_INLINE_SPIN_UNLOCK_IRQ |
|---|
| 142 | + depends on !PREEMPTION || ARCH_INLINE_SPIN_UNLOCK_IRQ |
|---|
| 142 | 143 | |
|---|
| 143 | 144 | config INLINE_SPIN_UNLOCK_IRQRESTORE |
|---|
| 144 | 145 | def_bool y |
|---|
| .. | .. |
|---|
| 167 | 168 | |
|---|
| 168 | 169 | config INLINE_READ_UNLOCK |
|---|
| 169 | 170 | def_bool y |
|---|
| 170 | | - depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK |
|---|
| 171 | + depends on !PREEMPTION || ARCH_INLINE_READ_UNLOCK |
|---|
| 171 | 172 | |
|---|
| 172 | 173 | config INLINE_READ_UNLOCK_BH |
|---|
| 173 | 174 | def_bool y |
|---|
| .. | .. |
|---|
| 175 | 176 | |
|---|
| 176 | 177 | config INLINE_READ_UNLOCK_IRQ |
|---|
| 177 | 178 | def_bool y |
|---|
| 178 | | - depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK_IRQ |
|---|
| 179 | + depends on !PREEMPTION || ARCH_INLINE_READ_UNLOCK_IRQ |
|---|
| 179 | 180 | |
|---|
| 180 | 181 | config INLINE_READ_UNLOCK_IRQRESTORE |
|---|
| 181 | 182 | def_bool y |
|---|
| .. | .. |
|---|
| 204 | 205 | |
|---|
| 205 | 206 | config INLINE_WRITE_UNLOCK |
|---|
| 206 | 207 | def_bool y |
|---|
| 207 | | - depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK |
|---|
| 208 | + depends on !PREEMPTION || ARCH_INLINE_WRITE_UNLOCK |
|---|
| 208 | 209 | |
|---|
| 209 | 210 | config INLINE_WRITE_UNLOCK_BH |
|---|
| 210 | 211 | def_bool y |
|---|
| .. | .. |
|---|
| 212 | 213 | |
|---|
| 213 | 214 | config INLINE_WRITE_UNLOCK_IRQ |
|---|
| 214 | 215 | def_bool y |
|---|
| 215 | | - depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK_IRQ |
|---|
| 216 | + depends on !PREEMPTION || ARCH_INLINE_WRITE_UNLOCK_IRQ |
|---|
| 216 | 217 | |
|---|
| 217 | 218 | config INLINE_WRITE_UNLOCK_IRQRESTORE |
|---|
| 218 | 219 | def_bool y |
|---|
| .. | .. |
|---|
| 229 | 230 | |
|---|
| 230 | 231 | config RWSEM_SPIN_ON_OWNER |
|---|
| 231 | 232 | def_bool y |
|---|
| 232 | | - depends on SMP && RWSEM_XCHGADD_ALGORITHM && ARCH_SUPPORTS_ATOMIC_RMW |
|---|
| 233 | + depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW |
|---|
| 233 | 234 | |
|---|
| 234 | 235 | config LOCK_SPIN_ON_OWNER |
|---|
| 235 | 236 | def_bool y |
|---|
| .. | .. |
|---|
| 242 | 243 | def_bool y if ARCH_USE_QUEUED_SPINLOCKS |
|---|
| 243 | 244 | depends on SMP |
|---|
| 244 | 245 | |
|---|
| 246 | +config BPF_ARCH_SPINLOCK |
|---|
| 247 | + bool |
|---|
| 248 | + |
|---|
| 245 | 249 | config ARCH_USE_QUEUED_RWLOCKS |
|---|
| 246 | 250 | bool |
|---|
| 247 | 251 | |
|---|
| 248 | 252 | config QUEUED_RWLOCKS |
|---|
| 249 | 253 | def_bool y if ARCH_USE_QUEUED_RWLOCKS |
|---|
| 250 | 254 | depends on SMP |
|---|
| 255 | + |
|---|
| 256 | +config ARCH_HAS_MMIOWB |
|---|
| 257 | + bool |
|---|
| 258 | + |
|---|
| 259 | +config MMIOWB |
|---|
| 260 | + def_bool y if ARCH_HAS_MMIOWB |
|---|
| 261 | + depends on SMP |
|---|