bit_spinlock.h (d4bbf7e7759afc172e2bfbc5c416324590049cdd) bit_spinlock.h (187f1882b5b0748b3c4c22274663fdb372ac0452)
1#ifndef __LINUX_BIT_SPINLOCK_H
2#define __LINUX_BIT_SPINLOCK_H
3
4#include <linux/kernel.h>
5#include <linux/preempt.h>
6#include <linux/atomic.h>
1#ifndef __LINUX_BIT_SPINLOCK_H
2#define __LINUX_BIT_SPINLOCK_H
3
4#include <linux/kernel.h>
5#include <linux/preempt.h>
6#include <linux/atomic.h>
7#include <linux/bug.h>
7
8/*
9 * bit-based spin_lock()
10 *
11 * Don't use this unless you really need to: spin_lock() and spin_unlock()
12 * are significantly faster.
13 */
14static inline void bit_spin_lock(int bitnum, unsigned long *addr)

--- 85 unchanged lines hidden ---
8
9/*
10 * bit-based spin_lock()
11 *
12 * Don't use this unless you really need to: spin_lock() and spin_unlock()
13 * are significantly faster.
14 */
15static inline void bit_spin_lock(int bitnum, unsigned long *addr)

--- 85 unchanged lines hidden ---