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
d76513b3
Commit
d76513b3
authored
Jun 18, 2002
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fix preemption bug in cli().
parent
6986d71d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
arch/i386/kernel/irq.c
arch/i386/kernel/irq.c
+2
-1
No files found.
arch/i386/kernel/irq.c
View file @
d76513b3
...
@@ -360,8 +360,9 @@ void __global_cli(void)
...
@@ -360,8 +360,9 @@ void __global_cli(void)
__save_flags
(
flags
);
__save_flags
(
flags
);
if
(
flags
&
(
1
<<
EFLAGS_IF_SHIFT
))
{
if
(
flags
&
(
1
<<
EFLAGS_IF_SHIFT
))
{
int
cpu
=
smp_processor_id
()
;
int
cpu
;
__cli
();
__cli
();
cpu
=
smp_processor_id
();
if
(
!
local_irq_count
(
cpu
))
if
(
!
local_irq_count
(
cpu
))
get_irqlock
(
cpu
);
get_irqlock
(
cpu
);
}
}
...
...
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