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
nexedi
linux
Commits
883aef79
Commit
883aef79
authored
Jan 04, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix more gcc3 build errors.
parent
f73e9f0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
arch/arm/kernel/fiq.c
arch/arm/kernel/fiq.c
+12
-12
No files found.
arch/arm/kernel/fiq.c
View file @
883aef79
...
...
@@ -112,12 +112,12 @@ void set_fiq_regs(struct pt_regs *regs)
{
register
unsigned
long
tmp
,
tmp2
;
__asm__
volatile
(
"mrs %0, cpsr
mov %1, %3
msr cpsr_c, %1 @ select FIQ mode
mov r0, r0
ldmia %2, {r8 - r14}
msr cpsr_c, %0 @ return to SVC mode
"mrs %0, cpsr
\n
\
mov %1, %3
\n
\
msr cpsr_c, %1 @ select FIQ mode
\n
\
mov r0, r0
\n
\
ldmia %2, {r8 - r14}
\n
\
msr cpsr_c, %0 @ return to SVC mode
\n
\
mov r0, r0"
:
"=&r"
(
tmp
),
"=&r"
(
tmp2
)
:
"r"
(
&
regs
->
ARM_r8
),
"I"
(
PSR_I_BIT
|
PSR_F_BIT
|
FIQ_MODE
)
...
...
@@ -132,12 +132,12 @@ void get_fiq_regs(struct pt_regs *regs)
{
register
unsigned
long
tmp
,
tmp2
;
__asm__
volatile
(
"mrs %0, cpsr
mov %1, %3
msr cpsr_c, %1 @ select FIQ mode
mov r0, r0
stmia %2, {r8 - r14}
msr cpsr_c, %0 @ return to SVC mode
"mrs %0, cpsr
\n
\
mov %1, %3
\n
\
msr cpsr_c, %1 @ select FIQ mode
\n
\
mov r0, r0
\n
\
stmia %2, {r8 - r14}
\n
\
msr cpsr_c, %0 @ return to SVC mode
\n
\
mov r0, r0"
:
"=&r"
(
tmp
),
"=&r"
(
tmp2
)
:
"r"
(
&
regs
->
ARM_r8
),
"I"
(
PSR_I_BIT
|
PSR_F_BIT
|
FIQ_MODE
)
...
...
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