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
1a37395a
Commit
1a37395a
authored
Mar 17, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix __hbird_read_stick signedness, also hbird softint_mask.
parent
aebb0040
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/sparc64/kernel/time.c
arch/sparc64/kernel/time.c
+2
-2
No files found.
arch/sparc64/kernel/time.c
View file @
1a37395a
...
@@ -283,7 +283,7 @@ static unsigned long __hbird_read_stick(void)
...
@@ -283,7 +283,7 @@ static unsigned long __hbird_read_stick(void)
"sub %1, 0x8, %1
\n\t
"
"sub %1, 0x8, %1
\n\t
"
"ldxa [%1] %5, %4
\n\t
"
"ldxa [%1] %5, %4
\n\t
"
"cmp %4, %2
\n\t
"
"cmp %4, %2
\n\t
"
"bl,a,pn %%xcc, 1f
\n\t
"
"bl
u
,a,pn %%xcc, 1f
\n\t
"
" add %3, 1, %3
\n
"
" add %3, 1, %3
\n
"
"1:
\n\t
"
"1:
\n\t
"
"sllx %3, 32, %3
\n\t
"
"sllx %3, 32, %3
\n\t
"
...
@@ -382,7 +382,7 @@ static struct sparc64_tick_ops hbtick_operations = {
...
@@ -382,7 +382,7 @@ static struct sparc64_tick_ops hbtick_operations = {
.
get_compare
=
hbtick_get_compare
,
.
get_compare
=
hbtick_get_compare
,
.
add_tick
=
hbtick_add_tick
,
.
add_tick
=
hbtick_add_tick
,
.
add_compare
=
hbtick_add_compare
,
.
add_compare
=
hbtick_add_compare
,
.
softint_mask
=
1UL
<<
16
,
.
softint_mask
=
1UL
<<
0
,
};
};
/* timer_interrupt() needs to keep up the real-time clock,
/* timer_interrupt() needs to keep up the real-time clock,
...
...
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