Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
62b4e25f
Unverified
Commit
62b4e25f
authored
Jan 14, 2022
by
Li-Wen Hsu
Browse files
powerpc: Fix syntax atomic.h
Fixes:
b5d227b0
powerpc: Add atomic_testand_{set,clear}_{int,long}
parent
5efa7281
Changes
1
Hide whitespace changes
Inline
Side-by-side
sys/powerpc/include/atomic.h
View file @
62b4e25f
...
...
@@ -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
...
...
HardenedBSD Services
@hardenedbsd-services
mentioned in commit
694614c6
·
Mar 02, 2022
mentioned in commit
694614c6
mentioned in commit 694614c64ad214e867731a58358568752a44eaec
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment