]> git.baikalelectronics.ru Git - kernel.git/commit
x86/irq/64: Remove a hardcoded irq_stack_union access
authorAndy Lutomirski <luto@kernel.org>
Sun, 14 Apr 2019 15:59:40 +0000 (17:59 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 17 Apr 2019 10:31:38 +0000 (12:31 +0200)
commit9633736481ea7c37c20365655404a17e0f920b26
treea6e68d7f6a9d26d72c81d0ce72978775317a2b56
parent7a22aa4f282329d88a29ad5a2f1978d1d6c55e56
x86/irq/64: Remove a hardcoded irq_stack_union access

stack_overflow_check() is using both irq_stack_ptr and irq_stack_union
to find the IRQ stack. That's going to break when vmapped irq stacks are
introduced.

Change it to just use irq_stack_ptr.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Nicolai Stange <nstange@suse.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20190414160143.872549191@linutronix.de
arch/x86/kernel/irq_64.c