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
96e54049
Commit
96e54049
authored
Sep 26, 2006
by
Andi Kleen
Committed by
Andi Kleen
Sep 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix a irqcount comment in entry.S
Signed-off-by:
Andi Kleen
<
ak@suse.de
>
parent
4f7fd4d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
arch/x86_64/kernel/entry.S
arch/x86_64/kernel/entry.S
+6
-1
No files found.
arch/x86_64/kernel/entry.S
View file @
96e54049
...
@@ -519,7 +519,12 @@ END(stub_rt_sigreturn)
...
@@ -519,7 +519,12 @@ END(stub_rt_sigreturn)
testl
$
3
,
CS
(%
rdi
)
testl
$
3
,
CS
(%
rdi
)
je
1
f
je
1
f
swapgs
swapgs
1
:
incl
%
gs
:
pda_irqcount
#
RED
-
PEN
should
check
preempt
count
/
*
irqcount
is
used
to
check
if
a
CPU
is
already
on
an
interrupt
stack
or
not
.
While
this
is
essentially
redundant
with
preempt_count
it
is
a
little
cheaper
to
use
a
separate
counter
in
the
PDA
(
short
of
moving
irq_enter
into
assembly
,
which
would
be
too
much
work
)
*/
1
:
incl
%
gs
:
pda_irqcount
cmoveq
%
gs
:
pda_irqstackptr
,%
rsp
cmoveq
%
gs
:
pda_irqstackptr
,%
rsp
push
%
rbp
#
backlink
for
old
unwinder
push
%
rbp
#
backlink
for
old
unwinder
/
*
/
*
...
...
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