Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
Clea OS
bsp
nxp
linux-seco-imx
Commits
10f650db
Commit
10f650db
authored
19 years ago
by
Ralf Baechle
Browse files
Options
Downloads
Patches
Plain Diff
64-bit fixes for Alchemy code ;)
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
ffd099bd
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/mips/kernel/cpu-probe.c
+5
-6
5 additions, 6 deletions
arch/mips/kernel/cpu-probe.c
with
5 additions
and
6 deletions
arch/mips/kernel/cpu-probe.c
+
5
−
6
View file @
10f650db
...
...
@@ -53,14 +53,13 @@ static void r4k_wait(void)
/* The Au1xxx wait is available only if using 32khz counter or
* external timer source, but specifically not CP0 Counter. */
int
allow_au1k_wait
;
static
void
au1k_wait
(
void
)
{
unsigned
long
addr
=
0
;
/* using the wait instruction makes CP0 counter unusable */
__asm__
(
"la %0,au1k_wait
\n\t
"
".set mips3
\n\t
"
"cache 0x14,0(%0)
\n\t
"
"cache 0x14,32(%0)
\n\t
"
__asm__
(
".set mips3
\n\t
"
"cache 0x14, 0(%0)
\n\t
"
"cache 0x14, 32(%0)
\n\t
"
"sync
\n\t
"
"nop
\n\t
"
"wait
\n\t
"
...
...
@@ -69,7 +68,7 @@ static void au1k_wait(void)
"nop
\n\t
"
"nop
\n\t
"
".set mips0
\n\t
"
:
:
"r"
(
a
ddr
));
:
:
"r"
(
a
u1k_wait
));
}
static
inline
void
check_wait
(
void
)
...
...
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