Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <asm/current.h>
Go to the source code of this file.
Macros | |
#define | arch_spin_lock_flags(lock, flags) arch_spin_lock(lock) |
#define | arch_spin_is_locked(x) ((x)->lock != 0) |
#define | arch_spin_unlock_wait(x) do { cpu_relax(); } while ((x)->lock) |
#define | arch_read_lock_flags(lock, flags) arch_read_lock(lock) |
#define | arch_write_lock_flags(lock, flags) arch_write_lock(lock) |
#define | arch_spin_relax(lock) cpu_relax() |
#define | arch_read_relax(lock) cpu_relax() |
#define | arch_write_relax(lock) cpu_relax() |
#define arch_read_lock_flags | ( | lock, | |
flags | |||
) | arch_read_lock(lock) |
Definition at line 168 of file spinlock.h.
Definition at line 172 of file spinlock.h.
Definition at line 15 of file spinlock.h.
#define arch_spin_lock_flags | ( | lock, | |
flags | |||
) | arch_spin_lock(lock) |
Definition at line 14 of file spinlock.h.
Definition at line 171 of file spinlock.h.
Definition at line 16 of file spinlock.h.
#define arch_write_lock_flags | ( | lock, | |
flags | |||
) | arch_write_lock(lock) |
Definition at line 169 of file spinlock.h.
Definition at line 173 of file spinlock.h.