Messages in this thread | | | Date | Wed, 05 Jul 2006 20:43:11 -0700 (PDT) | Subject | Re: [PATCH 2.6.17 sparc64] fix stack overflow checking in modular non-SMP kernels | From | David Miller <> |
| |
From: Mikael Pettersson <mikpe@it.uu.se> Date: Tue, 4 Jul 2006 22:10:11 +0200 (MEST)
> The sparc64 kernel's EXPORT_SYMBOL(_mcount) is inside an > #ifdef CONFIG_SMP. This breaks modules in non-SMP kernels > built with stack overflow checking (CONFIG_STACK_DEBUG=y), > as modules_install reports: > > WARNING: /lib/modules/2.6.17/kernel/drivers/ide/ide-cd.ko needs unknown symbol _mcount > > Trivially fixed by moving EXPORT_SYMBOL(_mcount) outside of > the #ifdef CONFIG_SMP. > > Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Applied, thanks Mikael. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |