diff mbox

parisc: drop unnecessary cast in __ldcw_align() macro

Message ID 20100202190623.GA7059@p100.box (mailing list archive)
State Accepted
Headers show

Commit Message

Helge Deller Feb. 2, 2010, 7:06 p.m. UTC
None
diff mbox

Patch

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*/