Linux Kernel
3.7.1
|
#include <asm/processor.h>
Go to the source code of this file.
Macros | |
#define | ALT_SMP(smp, up) |
#define | SEV ALT_SMP("sev", "nop") |
#define | WFE(cond) ALT_SMP("wfe" cond, "nop") |
#define | arch_spin_unlock_wait(lock) do { while (arch_spin_is_locked(lock)) cpu_relax(); } while (0) |
#define | arch_spin_lock_flags(lock, flags) arch_spin_lock(lock) |
#define | arch_spin_is_contended arch_spin_is_contended |
#define | arch_write_can_lock(x) ((x)->lock == 0) |
#define | arch_read_can_lock(x) ((x)->lock < 0x80000000) |
#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() |
Definition at line 14 of file spinlock.h.
Definition at line 283 of file spinlock.h.
#define arch_read_lock_flags | ( | lock, | |
flags | |||
) | arch_read_lock(lock) |
Definition at line 285 of file spinlock.h.
Definition at line 289 of file spinlock.h.
#define arch_spin_is_contended arch_spin_is_contended |
Definition at line 152 of file spinlock.h.
#define arch_spin_lock_flags | ( | lock, | |
flags | |||
) | arch_spin_lock(lock) |
Definition at line 72 of file spinlock.h.
Definition at line 288 of file spinlock.h.
#define arch_spin_unlock_wait | ( | lock | ) | do { while (arch_spin_is_locked(lock)) cpu_relax(); } while (0) |
Definition at line 69 of file spinlock.h.
Definition at line 214 of file spinlock.h.
#define arch_write_lock_flags | ( | lock, | |
flags | |||
) | arch_write_lock(lock) |
Definition at line 286 of file spinlock.h.
Definition at line 290 of file spinlock.h.
Definition at line 41 of file spinlock.h.
Definition at line 42 of file spinlock.h.