Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Martyn Welch
linux
Commits
7222424e
Commit
7222424e
authored
19 years ago
by
Ralf Baechle
Browse files
Options
Downloads
Patches
Plain Diff
More .set to keep 32-bit processors happy.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
4c0a2d42
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/asm-mips/system.h
+4
-0
4 additions, 0 deletions
include/asm-mips/system.h
with
4 additions
and
0 deletions
include/asm-mips/system.h
+
4
−
0
View file @
7222424e
...
@@ -178,7 +178,9 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val)
...
@@ -178,7 +178,9 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val)
__asm__
__volatile__
(
__asm__
__volatile__
(
" .set mips3
\n
"
" .set mips3
\n
"
"1: ll %0, %3 # xchg_u32
\n
"
"1: ll %0, %3 # xchg_u32
\n
"
" .set mips0
\n
"
" move %2, %z4
\n
"
" move %2, %z4
\n
"
" .set mips3
\n
"
" sc %2, %1
\n
"
" sc %2, %1
\n
"
" beqzl %2, 1b
\n
"
" beqzl %2, 1b
\n
"
ROT_IN_PIECES
ROT_IN_PIECES
...
@@ -195,7 +197,9 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val)
...
@@ -195,7 +197,9 @@ static inline unsigned long __xchg_u32(volatile int * m, unsigned int val)
__asm__
__volatile__
(
__asm__
__volatile__
(
" .set mips3
\n
"
" .set mips3
\n
"
"1: ll %0, %3 # xchg_u32
\n
"
"1: ll %0, %3 # xchg_u32
\n
"
" .set mips0
\n
"
" move %2, %z4
\n
"
" move %2, %z4
\n
"
" .set mips3
\n
"
" sc %2, %1
\n
"
" sc %2, %1
\n
"
" beqz %2, 1b
\n
"
" beqz %2, 1b
\n
"
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
...
...
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