Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
atomic.h File Reference
#include <linux/spinlock_types.h>

Go to the source code of this file.

Macros

#define cris_atomic_save(addr, flags)   local_irq_save(flags);
 
#define cris_atomic_restore(addr, flags)   local_irq_restore(flags);
 

Functions

void cris_spin_unlock (void *l, int val)
 
void cris_spin_lock (void *l)
 
int cris_spin_trylock (void *l)
 

Macro Definition Documentation

#define cris_atomic_restore (   addr,
  flags 
)    local_irq_restore(flags);

Definition at line 12 of file atomic.h.

#define cris_atomic_save (   addr,
  flags 
)    local_irq_save(flags);

Definition at line 11 of file atomic.h.

Function Documentation

void cris_spin_lock ( void l)
int cris_spin_trylock ( void l)
void cris_spin_unlock ( void l,
int  val 
)