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)
commit4f44b8f0b33b7111216f0fad353315f796b81617
treea6e68d7f6a9d26d72c81d0ce72978775317a2b56
parentfa33215422fd415a07ec2a00e9f1acdaf0fa8e94
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