]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/irq/64: Sanitize the top/bottom confusion
authorThomas Gleixner <tglx@linutronix.de>
Sun, 14 Apr 2019 15:59:41 +0000 (17:59 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 17 Apr 2019 10:34:49 +0000 (12:34 +0200)
commitdf835e7083bee33e98635aca26b39b63ebc6cca7
tree469b3d2fb465035f9be3677a32ea5053bec97663
parent4f44b8f0b33b7111216f0fad353315f796b81617
x86/irq/64: Sanitize the top/bottom confusion

On x86, stacks go top to bottom, but the stack overflow check uses it
the other way round, which is just confusing. Clean it up and sanitize
the warning string a bit.

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: Andy Lutomirski <luto@kernel.org>
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.961241397@linutronix.de
arch/x86/kernel/irq_64.c