[PATCH] x86_64: Remove bogus RED-PEN comment in signal.c
No red zone possible/needed on the alternative stack. It caused confusion. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Родитель
8fa3d6fc5e
Коммит
d9005b52de
|
@ -237,7 +237,6 @@ get_stack(struct k_sigaction *ka, struct pt_regs *regs, unsigned long size)
|
|||
rsp = regs->rsp - 128;
|
||||
|
||||
/* This is the X/Open sanctioned signal stack switching. */
|
||||
/* RED-PEN: redzone on that stack? */
|
||||
if (ka->sa.sa_flags & SA_ONSTACK) {
|
||||
if (sas_ss_flags(rsp) == 0)
|
||||
rsp = current->sas_ss_sp + current->sas_ss_size;
|
||||
|
|
Загрузка…
Ссылка в новой задаче