ppc*: -Wcast-qual clean-up.

ck_pring
Samy Al Bahra 10 years ago
parent a6ac5b81fb
commit ae3a579216

@ -89,7 +89,7 @@ CK_PR_FENCE(release, "lwsync")
T r; \ T r; \
__asm__ __volatile__(I "%U1%X1 %0, %1" \ __asm__ __volatile__(I "%U1%X1 %0, %1" \
: "=r" (r) \ : "=r" (r) \
: "m" (*(C *)target) \ : "m" (*(const C *)target) \
: "memory"); \ : "memory"); \
return (r); \ return (r); \
} }

@ -92,7 +92,7 @@ CK_PR_FENCE(release, "lwsync")
T r; \ T r; \
__asm__ __volatile__(I "%U1%X1 %0, %1" \ __asm__ __volatile__(I "%U1%X1 %0, %1" \
: "=r" (r) \ : "=r" (r) \
: "m" (*(C *)target) \ : "m" (*(const C *)target) \
: "memory"); \ : "memory"); \
return (r); \ return (r); \
} }

Loading…
Cancel
Save