mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: skseofh@gmail.com
To: catalin.marinas@arm.com, will@kernel.org,
	rmk+kernel@armlinux.org.uk, tglx@linutronix.de,
	mark.rutland@arm.com
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Daero Lee <skseofh@gmail.com>
Subject: [PATCH] arm64: remove duplicated early fixmap init
Date: Mon, 19 Feb 2024 22:07:18 +0900	[thread overview]
Message-ID: <20240219130718.2491496-1-skseofh@gmail.com> (raw)

From: Daero Lee <skseofh@gmail.com>

We call early_fixmap_init() in two place.
- early_fdt_init()
- setup_arch()

Because early_fdt_init() is called before going to setup_arch(),
early_fixmap_init() can be deleted from setup_arch()

Signed-off-by: Daero Lee <skseofh@gmail.com>
---
 arch/arm64/kernel/setup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 42c690bb2d60..ce45f4a9ac4a 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -305,7 +305,6 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p)
 	 */
 	arm64_use_ng_mappings = kaslr_requires_kpti();
 
-	early_fixmap_init();
 	early_ioremap_init();
 
 	setup_machine_fdt(__fdt_pointer);
-- 
2.25.1


             reply	other threads:[~2024-02-19 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 13:07 skseofh [this message]
2024-02-19 13:27 skseofh

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=20240219130718.2491496-1-skseofh@gmail.com \
    --to=skseofh@gmail.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=tglx@linutronix.de \
    --cc=will@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®