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
a47fe793
Commit
a47fe793
authored
Mar 30, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
parents
9e0206ab
5a4ad32c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
+2
-0
include/asm-sparc64/timex.h
include/asm-sparc64/timex.h
+3
-5
No files found.
arch/sparc64/kernel/sparc64_ksyms.c
View file @
a47fe793
...
...
@@ -380,3 +380,5 @@ EXPORT_SYMBOL(ns87303_lock);
/* for solaris compat module */
EXPORT_SYMBOL_GPL
(
sys_call_table
);
EXPORT_SYMBOL
(
tick_ops
);
include/asm-sparc64/timex.h
View file @
a47fe793
...
...
@@ -6,6 +6,8 @@
#ifndef _ASMsparc64_TIMEX_H
#define _ASMsparc64_TIMEX_H
#include <asm/timer.h>
#define CLOCK_TICK_RATE 1193180
/* Underlying HZ */
#define CLOCK_TICK_FACTOR 20
/* Factor of both 1000000 and CLOCK_TICK_RATE */
#define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \
...
...
@@ -14,10 +16,6 @@
/* Getting on the cycle counter on sparc64. */
typedef
unsigned
long
cycles_t
;
#define get_cycles() \
({ cycles_t ret; \
__asm__ __volatile__("rd %%tick, %0" : "=r" (ret)); \
ret; \
})
#define get_cycles() tick_ops->get_tick()
#endif
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