Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
6f80d60b
Commit
6f80d60b
authored
Nov 11, 2014
by
danh-arm
Browse files
Merge pull request #221 from achingupta/ag/tf-issues#272
Precede a 'sev' with a 'dsb' in bakery lock code
parents
e73f4ef6
66ce001e
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/locks/bakery/bakery_lock.c
View file @
6f80d60b
...
...
@@ -107,6 +107,7 @@ static unsigned int bakery_get_ticket(bakery_lock_t *bakery, unsigned int me)
++
my_ticket
;
bakery
->
number
[
me
]
=
my_ticket
;
bakery
->
entering
[
me
]
=
0
;
dsb
();
sev
();
return
my_ticket
;
...
...
@@ -189,5 +190,6 @@ void bakery_lock_release(bakery_lock_t *bakery)
*/
bakery
->
owner
=
NO_OWNER
;
bakery
->
number
[
me
]
=
0
;
dsb
();
sev
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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