mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 7/8] Remove unused __BARE_INIT
Date: Tue, 18 Feb 2020 16:39:16 +0100	[thread overview]
Message-ID: <20200218153917.15937-7-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20200218153917.15937-1-s.hauer@pengutronix.de>

__BARE_INIT is only used in one place where it doesn't need to be.
Remove it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/cpu/hyp.S | 2 --
 include/init.h     | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/arch/arm/cpu/hyp.S b/arch/arm/cpu/hyp.S
index 1314b56eab..423113c281 100644
--- a/arch/arm/cpu/hyp.S
+++ b/arch/arm/cpu/hyp.S
@@ -6,8 +6,6 @@
 .arch_extension sec
 .arch_extension virt
 
-__BARE_INIT
-
 .data
 	.align  2
 ENTRY(__boot_cpu_mode)
diff --git a/include/init.h b/include/init.h
index d1cef14b07..1c0e3f090a 100644
--- a/include/init.h
+++ b/include/init.h
@@ -11,9 +11,6 @@
 #define __exit
 #define __exitdata
 
-/* For assembly routines */
-#define __BARE_INIT	.section ".text_bare_init.text","ax"
-
 #ifndef __ASSEMBLY__
 typedef int (*initcall_t)(void);
 typedef void (*exitcall_t)(void);
-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2020-02-18 15:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 15:39 [PATCH 1/8] mips: remove bare_init Sascha Hauer
2020-02-18 15:39 ` [PATCH 2/8] nios2: " Sascha Hauer
2020-02-18 15:39 ` [PATCH 3/8] ARM: arm64: " Sascha Hauer
2020-02-18 15:39 ` [PATCH 4/8] x86: " Sascha Hauer
2020-02-18 15:39 ` [PATCH 5/8] ARM: remove unnecessary __bare_init attributes Sascha Hauer
2020-02-18 15:39 ` [PATCH 6/8] ARM: Use function specific sections in assembly functions Sascha Hauer
2020-02-18 15:39 ` Sascha Hauer [this message]
2020-02-18 15:39 ` [PATCH 8/8] Put bare_init functions in separate sections Sascha Hauer

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=20200218153917.15937-7-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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