Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ldcw.h File Reference

Go to the source code of this file.

Macros

#define __PA_LDCW_ALIGNMENT   16
 
#define __ldcw_align(a)
 
#define __LDCW   "ldcw"
 
#define __ldcw(a)
 

Macro Definition Documentation

#define __LDCW   "ldcw"

Definition at line 20 of file ldcw.h.

#define __ldcw (   a)
Value:
({ \
unsigned __ret; \
__asm__ __volatile__(__LDCW " 0(%2),%0" \
: "=r" (__ret), "+m" (*(a)) : "r" (a)); \
__ret; \
})

CONFIG_PA20

Definition at line 37 of file ldcw.h.

#define __ldcw_align (   a)
Value:
({ \
unsigned long __ret = (unsigned long) &(a)->lock[0]; \
__ret = (__ret + __PA_LDCW_ALIGNMENT - 1) \
& ~(__PA_LDCW_ALIGNMENT - 1); \
(volatile unsigned int *) __ret; \
})

Definition at line 14 of file ldcw.h.

#define __PA_LDCW_ALIGNMENT   16

Definition at line 13 of file ldcw.h.