Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Verlässliche Systemsoftware
projects
osv
Commits
d74dd39c
Commit
d74dd39c
authored
11 years ago
by
Avi Kivity
Browse files
Options
Downloads
Patches
Plain Diff
mutex: remove __always_inline
With __musl's definition, the compile fails. It isn't justified anyway.
parent
b831c573
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/osv/mutex.h
+2
-2
2 additions, 2 deletions
include/osv/mutex.h
with
2 additions
and
2 deletions
include/osv/mutex.h
+
2
−
2
View file @
d74dd39c
...
...
@@ -70,7 +70,7 @@ void mutex_unlock(mutex_t* m);
/* Is owned by current thread */
bool
mutex_owned
(
mutex_t
*
m
);
static
__always_
inline
void
mutex_init
(
mutex_t
*
m
)
static
inline
void
mutex_init
(
mutex_t
*
m
)
{
m
->
_depth
=
0
;
m
->
_owner
=
0
;
...
...
@@ -79,7 +79,7 @@ static __always_inline void mutex_init(mutex_t* m)
spinlock_init
(
&
m
->
_wait_lock
);
}
static
__always_
inline
void
mutex_destroy
(
mutex_t
*
m
)
static
inline
void
mutex_destroy
(
mutex_t
*
m
)
{
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment