Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2d0503d1
Commit
2d0503d1
authored
Aug 03, 2010
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRIS: Add debug info for assembler code
Signed-off-by:
Jesper Nilsson
<
jesper.nilsson@axis.com
>
parent
3a38125d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
arch/cris/arch-v32/lib/spinlock.S
arch/cris/arch-v32/lib/spinlock.S
+7
-0
No files found.
arch/cris/arch-v32/lib/spinlock.S
View file @
2d0503d1
...
@@ -6,7 +6,9 @@
...
@@ -6,7 +6,9 @@
.
global
cris_spin_lock
.
global
cris_spin_lock
.
type
cris_spin_lock
,
@
function
.
global
cris_spin_trylock
.
global
cris_spin_trylock
.
type
cris_spin_trylock
,
@
function
.
text
.
text
...
@@ -22,6 +24,8 @@ cris_spin_lock:
...
@@ -22,6 +24,8 @@ cris_spin_lock:
ret
ret
nop
nop
.
size
cris_spin_lock
,
.
-
cris_spin_lock
cris_spin_trylock
:
cris_spin_trylock
:
clearf
p
clearf
p
1
:
move.b
[
$r10
],
$r11
1
:
move.b
[
$r10
],
$r11
...
@@ -31,3 +35,6 @@ cris_spin_trylock:
...
@@ -31,3 +35,6 @@ cris_spin_trylock:
clearf
p
clearf
p
ret
ret
movu.b
$r11
,
$r10
movu.b
$r11
,
$r10
.
size
cris_spin_trylock
,
.
-
cris_spin_trylock
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