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
f3c1ba85
Commit
f3c1ba85
authored
Jul 31, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] dont assume newer cpus have the same magic registers
(Venkatesh Pallipadi@intel)
parent
b28d2708
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
arch/i386/kernel/nmi.c
arch/i386/kernel/nmi.c
+12
-0
No files found.
arch/i386/kernel/nmi.c
View file @
f3c1ba85
...
...
@@ -162,9 +162,15 @@ void disable_lapic_nmi_watchdog(void)
case
X86_VENDOR_INTEL
:
switch
(
boot_cpu_data
.
x86
)
{
case
6
:
if
(
boot_cpu_data
.
x86_model
>
0xd
)
break
;
wrmsr
(
MSR_P6_EVNTSEL0
,
0
,
0
);
break
;
case
15
:
if
(
boot_cpu_data
.
x86_model
>
0x3
)
break
;
wrmsr
(
MSR_P4_IQ_CCCR0
,
0
,
0
);
wrmsr
(
MSR_P4_CRU_ESCR0
,
0
,
0
);
break
;
...
...
@@ -348,9 +354,15 @@ void setup_apic_nmi_watchdog (void)
case
X86_VENDOR_INTEL
:
switch
(
boot_cpu_data
.
x86
)
{
case
6
:
if
(
boot_cpu_data
.
x86_model
>
0xd
)
return
;
setup_p6_watchdog
();
break
;
case
15
:
if
(
boot_cpu_data
.
x86_model
>
0x3
)
return
;
if
(
!
setup_p4_watchdog
())
return
;
break
;
...
...
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