From patchwork Tue Dec 21 18:20:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 424851 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBLIKR42026915 for ; Tue, 21 Dec 2010 18:20:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752565Ab0LUSU0 (ORCPT ); Tue, 21 Dec 2010 13:20:26 -0500 Received: from mail.free-electrons.com ([88.190.12.23]:44884 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752479Ab0LUSUZ (ORCPT ); Tue, 21 Dec 2010 13:20:25 -0500 Received: by mail.free-electrons.com (Postfix, from userid 106) id A9A2814F; Tue, 21 Dec 2010 19:20:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3B91C18D; Tue, 21 Dec 2010 19:20:14 +0100 (CET) From: Thomas Petazzoni To: linux-omap@vger.kernel.org Cc: Thomas Petazzoni Subject: [PATCH 2/6] omap: add macros to mark SoC-specific data/code Date: Tue, 21 Dec 2010 19:20:00 +0100 Message-Id: <1292955604-8809-3-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1292955604-8809-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1292955604-8809-1-git-send-email-thomas.petazzoni@free-electrons.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Dec 2010 18:20:27 +0000 (UTC) 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 +#include #include /* @@ -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