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
906e045d
Commit
906e045d
authored
Aug 16, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix cpu-sa1110.c gcc3 build error (multi-line asm statement)
parent
4a70cedd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
arch/arm/mach-sa1100/cpu-sa1110.c
arch/arm/mach-sa1100/cpu-sa1110.c
+13
-13
No files found.
arch/arm/mach-sa1100/cpu-sa1110.c
View file @
906e045d
...
...
@@ -282,19 +282,19 @@ static int sa1110_target(struct cpufreq_policy *policy,
local_irq_save
(
flags
);
asm
(
"mcr p15, 0, %0, c7, c10, 4"
:
:
"r"
(
0
));
udelay
(
10
);
__asm__
__volatile__
(
"
b 2f
.align 5
1: str %3, [%1, #0] @ MDCNFG
str %4, [%1, #28] @ MDREFR
str %5, [%1, #4] @ MDCAS0
str %6, [%1, #8] @ MDCAS1
str %7, [%1, #12] @ MDCAS2
str %8, [%2, #0] @ PPCR
ldr %0, [%1, #0]
b 3f
2: b 1b
3: nop
__asm__
__volatile__
(
"
\n
\
b 2f
\n
\
.align 5
\n
\
1: str %3, [%1, #0] @ MDCNFG
\n
\
str %4, [%1, #28] @ MDREFR
\n
\
str %5, [%1, #4] @ MDCAS0
\n
\
str %6, [%1, #8] @ MDCAS1
\n
\
str %7, [%1, #12] @ MDCAS2
\n
\
str %8, [%2, #0] @ PPCR
\n
\
ldr %0, [%1, #0]
\n
\
b 3f
\n
\
2: b 1b
\n
\
3: nop
\n
\
nop"
:
"=&r"
(
unused
)
:
"r"
(
&
MDCNFG
),
"r"
(
&
PPCR
),
"0"
(
sd
.
mdcnfg
),
...
...
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