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
87e7bd3c
Commit
87e7bd3c
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] MCE fixes.
Make things work if SMP kernel, and only 1 CPU.
parent
20ef8085
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
arch/i386/kernel/cpu/mcheck/non-fatal.c
arch/i386/kernel/cpu/mcheck/non-fatal.c
+1
-3
No files found.
arch/i386/kernel/cpu/mcheck/non-fatal.c
View file @
87e7bd3c
...
...
@@ -49,7 +49,6 @@ static void mce_checkregs (void *info)
static
void
do_mce_timer
(
void
*
data
)
{
mce_checkregs
(
NULL
);
smp_call_function
(
mce_checkregs
,
NULL
,
1
,
1
);
}
...
...
@@ -57,11 +56,10 @@ static DECLARE_WORK(mce_work, do_mce_timer, NULL);
static
void
mce_timerfunc
(
unsigned
long
data
)
{
mce_checkregs
(
NULL
);
#ifdef CONFIG_SMP
if
(
num_online_cpus
()
>
1
)
schedule_work
(
&
mce_work
);
#else
mce_checkregs
(
NULL
);
#endif
mce_timer
.
expires
=
jiffies
+
MCE_RATE
;
add_timer
(
&
mce_timer
);
...
...
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