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
6086ee24
Commit
6086ee24
authored
Mar 10, 2002
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X86 arch split
Add hook for MCA NMI
parent
dbd23a12
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1257 deletions
+15
-1257
arch/i386/generic/setup.c
arch/i386/generic/setup.c
+13
-0
arch/i386/kernel/mca.c
arch/i386/kernel/mca.c
+1
-6
arch/i386/kernel/smpboot.c.orig
arch/i386/kernel/smpboot.c.orig
+0
-1251
include/asm-i386/arch_hooks.h
include/asm-i386/arch_hooks.h
+1
-0
No files found.
arch/i386/generic/setup.c
View file @
6086ee24
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
* Machine specific setup for generic
* Machine specific setup for generic
*/
*/
#include <linux/config.h>
#include <linux/smp.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/irq.h>
...
@@ -41,3 +42,15 @@ void __init time_init_hook(void)
...
@@ -41,3 +42,15 @@ void __init time_init_hook(void)
{
{
setup_irq
(
0
,
&
irq0
);
setup_irq
(
0
,
&
irq0
);
}
}
#ifdef CONFIG_MCA
void
__init
mca_nmi_hook
(
void
)
{
/* If I recall correctly, there's a whole bunch of other things that
* we can do to check for NMI problems, but that's all I know about
* at the moment.
*/
printk
(
"NMI generated from unknown source!
\n
"
);
}
#endif
arch/i386/kernel/mca.c
View file @
6086ee24
...
@@ -371,12 +371,7 @@ void mca_handle_nmi(void)
...
@@ -371,12 +371,7 @@ void mca_handle_nmi(void)
}
}
}
}
/* If I recall correctly, there's a whole bunch of other things that
mca_nmi_hook
();
* we can do to check for NMI problems, but that's all I know about
* at the moment.
*/
printk
(
"NMI generated from unknown source!
\n
"
);
}
/* mca_handle_nmi */
}
/* mca_handle_nmi */
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
...
...
arch/i386/kernel/smpboot.c.orig
deleted
100644 → 0
View file @
dbd23a12
This diff is collapsed.
Click to expand it.
include/asm-i386/arch_hooks.h
View file @
6086ee24
...
@@ -20,5 +20,6 @@ extern void pre_intr_init_hook(void);
...
@@ -20,5 +20,6 @@ extern void pre_intr_init_hook(void);
extern
void
pre_setup_arch_hook
(
void
);
extern
void
pre_setup_arch_hook
(
void
);
extern
void
trap_init_hook
(
void
);
extern
void
trap_init_hook
(
void
);
extern
void
time_init_hook
(
void
);
extern
void
time_init_hook
(
void
);
extern
void
mca_nmi_hook
(
void
);
#endif
#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