Commit 96e54049 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen

[PATCH] Fix a irqcount comment in entry.S

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 4f7fd4d7
...@@ -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 1f je 1f
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
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment