[PATCH 2/6] omap: add macros to mark SoC-specific data/code

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

 



From: Thomas Petazzoni <t-petazzoni@xxxxxx>

Signed-off-by: Thomas Petazzoni <t-petazzoni@xxxxxx>
---
 arch/arm/plat-omap/include/plat/cpu.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index 3fd8b40..31f806e 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -31,6 +31,7 @@
 #define __ASM_ARCH_OMAP_CPU_H
 
 #include <linux/bitops.h>
+#include <linux/condsections.h>
 #include <plat/multi.h>
 
 /*
@@ -470,4 +471,14 @@ OMAP3_HAS_FEATURE(isp, ISP)
 OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK)
 OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP)
 
+/*
+ * OMAP section markers
+ */
+#define __omap2_data cond_data_section(omap2)
+#define __omap3_data cond_data_section(omap3)
+#define __omap4_data cond_data_section(omap4)
+#define __omap2_text cond_text_section(omap2)
+#define __omap3_text cond_text_section(omap3)
+#define __omap4_text cond_text_section(omap4)
+
 #endif
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux