From: David Miller <davem@davemloft.net>
To: mikpe@it.uu.se
Cc: linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org
Subject: Re: [PATCH 2.6.17 sparc64] fix stack overflow checking in modular non-SMP kernels
Date: Wed, 05 Jul 2006 20:43:11 -0700 (PDT) [thread overview]
Message-ID: <20060705.204311.78725710.davem@davemloft.net> (raw)
In-Reply-To: <200607042010.k64KABmC011107@harpo.it.uu.se>
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.
prev parent reply other threads:[~2006-07-06 3:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 20:10 Mikael Pettersson
2006-07-06 3:43 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060705.204311.78725710.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®