Message ID | 20100202190623.GA7059@p100.box (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/arch/parisc/include/asm/system.h b/arch/parisc/include/asm/system.h --- a/arch/parisc/include/asm/system.h +++ b/arch/parisc/include/asm/system.h @@ -160,7 +160,7 @@ static inline void set_eiem(unsigned long val) ldcd). */ #define __PA_LDCW_ALIGNMENT 4 -#define __ldcw_align(a) ((volatile unsigned int *)a) +#define __ldcw_align(a) (&(a)->slock) #define __LDCW "ldcw,co" #endif /*!CONFIG_PA20*/