Unverified Commit 62b4e25f authored by Li-Wen Hsu's avatar Li-Wen Hsu
Browse files

powerpc: Fix syntax atomic.h

Fixes:	b5d227b0 powerpc: Add atomic_testand_{set,clear}_{int,long}
parent 5efa7281
......@@ -1078,13 +1078,13 @@ atomic_testandclear_long(volatile u_long *p, u_int v)
static __inline int
atomic_testandset_long(volatile u_long *p, u_int v)
{
return (atomic_testandset_int((volatile u_int *)p, v);
return (atomic_testandset_int((volatile u_int *)p, v));
}
static __inline int
atomic_testandclear_long(volatile u_long *p, u_int v)
{
return (atomic_testandclear_int((volatile u_int *)p, v);
return (atomic_testandclear_int((volatile u_int *)p, v));
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment