1#ifndef __LINUX_BIT_SPINLOCK_H
2#define __LINUX_BIT_SPINLOCK_H
20#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK)
38#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK)
53#ifdef CONFIG_DEBUG_SPINLOCK
56#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK)
57 clear_bit_unlock(bitnum,
addr);
70#ifdef CONFIG_DEBUG_SPINLOCK
73#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK)
74 __clear_bit_unlock(bitnum,
addr);
85#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_SPINLOCK)
87#elif defined CONFIG_PREEMPT
88 return preempt_count();
static void bit_spin_lock(int bitnum, unsigned long *addr)
static int bit_spin_trylock(int bitnum, unsigned long *addr)
static void __bit_spin_unlock(int bitnum, unsigned long *addr)
static void bit_spin_unlock(int bitnum, unsigned long *addr)
static int bit_spin_is_locked(int bitnum, unsigned long *addr)
#define preempt_disable()
GLenum const GLvoid * addr
static int test_bit(int nr, volatile const unsigned long *addr)