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
f0c8e2a3
Commit
f0c8e2a3
authored
Dec 28, 2003
by
Keith Owens
Committed by
David Mosberger
Dec 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: Avoid double clear of CMC/CPE records
Credit to Ben Woodard <ben@zork.net>.
parent
bfe27d15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
arch/ia64/kernel/salinfo.c
arch/ia64/kernel/salinfo.c
+7
-2
No files found.
arch/ia64/kernel/salinfo.c
View file @
f0c8e2a3
...
...
@@ -348,6 +348,8 @@ salinfo_log_read_cpu(void *context)
{
struct
salinfo_data
*
data
=
context
;
data
->
log_size
=
ia64_sal_get_state_info
(
data
->
type
,
(
u64
*
)
data
->
log_buffer
);
if
(
data
->
type
==
SAL_INFO_TYPE_CPE
||
data
->
type
==
SAL_INFO_TYPE_CMC
)
ia64_sal_clear_state_info
(
data
->
type
);
}
static
void
...
...
@@ -440,8 +442,11 @@ salinfo_log_clear(struct salinfo_data *data, int cpu)
data
->
saved_num
=
0
;
spin_unlock_irqrestore
(
&
data_saved_lock
,
flags
);
}
call_on_cpu
(
cpu
,
salinfo_log_clear_cpu
,
data
);
/* ia64_mca_log_sal_error_record or salinfo_log_read_cpu already cleared
* CPE and CMC errors
*/
if
(
data
->
type
!=
SAL_INFO_TYPE_CPE
&&
data
->
type
!=
SAL_INFO_TYPE_CMC
)
call_on_cpu
(
cpu
,
salinfo_log_clear_cpu
,
data
);
/* clearing a record may make a new record visible */
salinfo_log_new_read
(
cpu
,
data
);
if
(
data
->
state
==
STATE_LOG_RECORD
&&
...
...
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