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
223c28cc
Commit
223c28cc
authored
Mar 18, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Do a dummy write to STICK in hbird_init_tick.
parent
3048a99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
arch/sparc64/kernel/time.c
arch/sparc64/kernel/time.c
+7
-0
No files found.
arch/sparc64/kernel/time.c
View file @
223c28cc
...
@@ -346,6 +346,13 @@ static void hbtick_init_tick(unsigned long offset)
...
@@ -346,6 +346,13 @@ static void hbtick_init_tick(unsigned long offset)
tick_disable_protection
();
tick_disable_protection
();
/* XXX This seems to be necessary to 'jumpstart' Hummingbird
* XXX into actually sending STICK interrupts. I think because
* XXX of how we store %tick_cmpr in head.S this somehow resets the
* XXX {TICK + STICK} interrupt mux. -DaveM
*/
__hbird_write_stick
(
__hbird_read_stick
());
val
=
__hbird_read_stick
()
&
~
(
1UL
<<
63
);
val
=
__hbird_read_stick
()
&
~
(
1UL
<<
63
);
__hbird_write_compare
(
val
+
offset
);
__hbird_write_compare
(
val
+
offset
);
}
}
...
...
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