Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
spinlock.h File Reference
#include <linux/atomic.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <linux/compiler.h>
#include <asm/paravirt.h>

Go to the source code of this file.

Macros

#define LOCK_PTR_REG   "D"
 
#define UNLOCK_LOCK_PREFIX
 
#define arch_spin_is_contended   arch_spin_is_contended
 
#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_HAS_SMP_MB_AFTER_LOCK
 

Macro Definition Documentation

#define ARCH_HAS_SMP_MB_AFTER_LOCK

Definition at line 238 of file spinlock.h.

#define arch_read_lock_flags (   lock,
  flags 
)    arch_read_lock(lock)

Definition at line 223 of file spinlock.h.

#define arch_read_relax (   lock)    cpu_relax()

Definition at line 233 of file spinlock.h.

#define arch_spin_is_contended   arch_spin_is_contended

Definition at line 109 of file spinlock.h.

#define arch_spin_relax (   lock)    cpu_relax()

Definition at line 232 of file spinlock.h.

#define arch_write_lock_flags (   lock,
  flags 
)    arch_write_lock(lock)

Definition at line 224 of file spinlock.h.

#define arch_write_relax (   lock)    cpu_relax()

Definition at line 234 of file spinlock.h.

#define LOCK_PTR_REG   "D"

Definition at line 23 of file spinlock.h.

#define UNLOCK_LOCK_PREFIX

Definition at line 34 of file spinlock.h.