From: Randy Dunlap <rdunlap@infradead.org>
To: Masahiro Yamada <masahiroy@kernel.org>, linux-kbuild@vger.kernel.org
Cc: Andreas Larsson <andreas@gaisler.com>,
"David S. Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org
Subject: Re: [PATCH] sparc: select FRAME_POINTER instead of redefining it
Date: Thu, 15 Feb 2024 08:47:54 -0800 [thread overview]
Message-ID: <737d2870-7a01-4f3f-9825-6583804607bb@infradead.org> (raw)
In-Reply-To: <20240215135749.1909812-1-masahiroy@kernel.org>
On 2/15/24 05:57, Masahiro Yamada wrote:
> Because FRAME_POINTER is defined in lib/Kconfig.debug, the arch Kconfig
> should select it.
>
> Add 'select FRAME_POINTER' to MCOUNT. ARCH_WANT_FRAME_POINTERS must
> also be selected to avoid the unmet dependency warning.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
>
> arch/sparc/Kconfig.debug | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/arch/sparc/Kconfig.debug b/arch/sparc/Kconfig.debug
> index 37e003665de6..d475a056a2e0 100644
> --- a/arch/sparc/Kconfig.debug
> +++ b/arch/sparc/Kconfig.debug
> @@ -8,11 +8,8 @@ config MCOUNT
> bool
> depends on SPARC64
> depends on FUNCTION_TRACER
> - default y
> -
> -config FRAME_POINTER
> - bool
> - depends on MCOUNT
> + select ARCH_WANT_FRAME_POINTERS
> + select FRAME_POINTER
> default y
>
> config HAVE_HARDLOCKUP_DETECTOR_SPARC64
--
#Randy
next prev parent reply other threads:[~2024-02-15 16:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 13:57 Masahiro Yamada
2024-02-15 16:47 ` Randy Dunlap [this message]
2024-02-16 16:24 ` Andreas Larsson
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=737d2870-7a01-4f3f-9825-6583804607bb@infradead.org \
--to=rdunlap@infradead.org \
--cc=andreas@gaisler.com \
--cc=davem@davemloft.net \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--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®