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
4ea4c54b
Commit
4ea4c54b
authored
Apr 17, 2003
by
Alan Cox
Committed by
Linus Torvalds
Apr 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] use names for PIT access. Not all PIT is the same location
parent
682b7ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
arch/i386/kernel/apic.c
arch/i386/kernel/apic.c
+5
-3
No files found.
arch/i386/kernel/apic.c
View file @
4ea4c54b
...
...
@@ -36,6 +36,8 @@
#include <mach_apic.h>
#include "io_ports.h"
void
__init
apic_intr_init
(
void
)
{
#ifdef CONFIG_SMP
...
...
@@ -739,9 +741,9 @@ static unsigned int __init get_8254_timer_count(void)
spin_lock_irqsave
(
&
i8253_lock
,
flags
);
outb_p
(
0x00
,
0x43
);
count
=
inb_p
(
0x4
0
);
count
|=
inb_p
(
0x4
0
)
<<
8
;
outb_p
(
0x00
,
PIT_MODE
);
count
=
inb_p
(
PIT_CH
0
);
count
|=
inb_p
(
PIT_CH
0
)
<<
8
;
spin_unlock_irqrestore
(
&
i8253_lock
,
flags
);
...
...
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