···5858 * functions. The drivers allocate the data buffers and assign them5959 * to the descriptors.6060 */6161-static spinlock_t au1xxx_dbdma_spin_lock = SPIN_LOCK_UNLOCKED;6161+static DEFINE_SPINLOCK(au1xxx_dbdma_spin_lock);62626363/* I couldn't find a macro that did this......6464*/
+1-1
arch/mips/pci/ops-nile4.c
···15151616volatile unsigned long *const vrc_pciregs = (void *) Vrc5074_BASE;17171818-static spinlock_t nile4_pci_lock;1818+static DEFINE_SPINLOCK(nile4_pci_lock);19192020static int nile4_pcibios_config_access(unsigned char access_type,2121 struct pci_bus *bus, unsigned int devfn, int where, u32 * val)
+1-1
arch/mips/pmc-sierra/yosemite/smp.c
···991010#define LAUNCHSTACK_SIZE 25611111212-static spinlock_t launch_lock __initdata;1212+static __initdata DEFINE_SPINLOCK(launch_lock);13131414static unsigned long secondary_sp __initdata;1515static unsigned long secondary_gp __initdata;