Linux kbuild/kconfig development
 help / color / mirror / Atom feed
From: Wei Yang <richard.weiyang@gmail.com>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	Wei Yang <richard.weiyang@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 1/2] init: remove unused __MEMINIT* macros
Date: Sat, 6 Jul 2024 23:58:44 +0000	[thread overview]
Message-ID: <20240706235844.fi4l5ptmv56u4kts@master> (raw)
In-Reply-To: <20240706160511.2331061-1-masahiroy@kernel.org>

On Sun, Jul 07, 2024 at 01:05:05AM +0900, Masahiro Yamada wrote:
>These macros are not used anywhere.
>
>Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Reviewed-by: Wei Yang <richard.weiyang@gmail.com>

>---
>
> include/linux/init.h | 4 ----
> 1 file changed, 4 deletions(-)
>
>diff --git a/include/linux/init.h b/include/linux/init.h
>index 58cef4c2e59a..b2e9dfff8691 100644
>--- a/include/linux/init.h
>+++ b/include/linux/init.h
>@@ -99,10 +99,6 @@
> #define __INITRODATA	.section	".init.rodata","a",%progbits
> #define __FINITDATA	.previous
> 
>-#define __MEMINIT        .section	".meminit.text", "ax"
>-#define __MEMINITDATA    .section	".meminit.data", "aw"
>-#define __MEMINITRODATA  .section	".meminit.rodata", "a"
>-
> /* silence warnings when references are OK */
> #define __REF            .section       ".ref.text", "ax"
> #define __REFDATA        .section       ".ref.data", "aw"
>-- 
>2.43.0

-- 
Wei Yang
Help you, Help me

      parent reply	other threads:[~2024-07-06 23:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-06 16:05 [PATCH 1/2] init: remove unused __MEMINIT* macros Masahiro Yamada
2024-07-06 16:05 ` [PATCH 2/2] init/modpost: conditionally check section mismatch to __meminit* Masahiro Yamada
2024-07-06 18:07   ` Masahiro Yamada
2024-07-07  0:01   ` Wei Yang
2024-07-07  5:58     ` Masahiro Yamada
2024-07-06 23:58 ` Wei Yang [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=20240706235844.fi4l5ptmv56u4kts@master \
    --to=richard.weiyang@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@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