From: Jan Beulich Date: Thu, 19 Jan 2006 01:42:21 +0000 (-0800) Subject: [PATCH] x86_64: Fix MCE exception stack for boot CPU X-Git-Tag: firefly_0821_release~38715 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ab26a20bb0ca0cafb3190972c982f9bfb819040f;p=firefly-linux-kernel-4.4.55.git [PATCH] x86_64: Fix MCE exception stack for boot CPU Fix a typo/mis-merge in one of the previous patches. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86_64/kernel/setup64.c index 8ac4db09610a..70f1bb808a20 100644 --- a/arch/x86_64/kernel/setup64.c +++ b/arch/x86_64/kernel/setup64.c @@ -146,7 +146,7 @@ void pda_init(int cpu) pda->irqstackptr += IRQSTACKSIZE-64; } -char boot_exception_stacks[(N_EXCEPTION_STACKS - 2) * EXCEPTION_STKSZ + DEBUG_STKSZ] +char boot_exception_stacks[(N_EXCEPTION_STACKS - 1) * EXCEPTION_STKSZ + DEBUG_STKSZ] __attribute__((section(".bss.page_aligned"))); /* May not be marked __init: used by software suspend */