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
8902f99e
Commit
8902f99e
authored
Apr 02, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] AMD Elan uses slightly different clock freq
parent
cf937c60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
include/asm-i386/timex.h
include/asm-i386/timex.h
+6
-1
No files found.
include/asm-i386/timex.h
View file @
8902f99e
...
...
@@ -9,7 +9,12 @@
#include <linux/config.h>
#include <asm/msr.h>
#define CLOCK_TICK_RATE 1193180
/* Underlying HZ */
#ifdef CONFIG_MELAN
# define CLOCK_TICK_RATE 1189200
/* AMD Elan has different frequency! */
#else
# define CLOCK_TICK_RATE 1193180
/* Underlying HZ */
#endif
#define CLOCK_TICK_FACTOR 20
/* Factor of both 1000000 and CLOCK_TICK_RATE */
#define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \
(1000000/CLOCK_TICK_FACTOR) / (CLOCK_TICK_RATE/CLOCK_TICK_FACTOR)) \
...
...
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