kernel/kernel/locking/spinlock.c
.. .. @@ -22,6 +22,13 @@ 22 22 #include <linux/debug_locks.h> 23 23 #include <linux/export.h> 24 24 25 +#ifdef CONFIG_MMIOWB26 +#ifndef arch_mmiowb_state27 +DEFINE_PER_CPU(struct mmiowb_state, __mmiowb_state);28 +EXPORT_PER_CPU_SYMBOL(__mmiowb_state);29 +#endif30 +#endif31 +25 32 /* 26 33 * If lockdep is enabled then we use the non-preemption spin-ops 27 34 * even on CONFIG_PREEMPT, because lockdep assumes that interrupts are