Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_SPINLOCK_H
     13 #define __ASM_SPINLOCK_H
     14 
     15 #include <asm/atomic.h>
     16 #include <asm/rwlock.h>
     17 #include <asm/page.h>
     18 #include <asm/processor.h>
     19 #include <linux/compiler.h>
     20 
     21 #define CLI_STRING "cli"
     22 #define STI_STRING "sti"
     23 #define CLI_STI_CLOBBERS
     24 #define CLI_STI_INPUT_ARGS
     25 
     26 #define _raw_spin_relax(lock) cpu_relax()
     27 #define _raw_read_relax(lock) cpu_relax()
     28 #define _raw_write_relax(lock) cpu_relax()
     29 #endif
     30