[PATCH 7/8] Remove unused __BARE_INIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux