From patchwork Thu Jan 7 17:29:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Creekmore X-Patchwork-Id: 7978491 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C66589F54F for ; Thu, 7 Jan 2016 17:31:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 060C320122 for ; Thu, 7 Jan 2016 17:31:40 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2DA5920109 for ; Thu, 7 Jan 2016 17:31:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHENi-0006pg-3r; Thu, 07 Jan 2016 17:29:50 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHENg-0006p0-Ff for xen-devel@lists.xenproject.org; Thu, 07 Jan 2016 17:29:48 +0000 Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id 92/E8-09708-B80AE865; Thu, 07 Jan 2016 17:29:47 +0000 X-Env-Sender: jonathan.creekmore@gmail.com X-Msg-Ref: server-3.tower-21.messagelabs.com!1452187786!8483177!1 X-Originating-IP: [209.85.160.177] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13789 invoked from network); 7 Jan 2016 17:29:47 -0000 Received: from mail-yk0-f177.google.com (HELO mail-yk0-f177.google.com) (209.85.160.177) by server-3.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 7 Jan 2016 17:29:47 -0000 Received: by mail-yk0-f177.google.com with SMTP id v14so243890123ykd.3 for ; Thu, 07 Jan 2016 09:29:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FmTG1u5wAz8r5WKRN1JIMRA2Xlm9+m9V3TMjIpZ+3g4=; b=ZJX+aNu9ESagFPc3Cfz6wXzIAMQtx8f4me/7YQpz8j/JTH6Une8mXmxtXavHjsCO+B nKk7b/GHjxTJvtUEuDCdU4LRfuaT2JDPqRai6lMJX783oOrpWJme5Ob92ScP1bijrsc5 eYY+5s+wtwSRuyvO2J021rMLK5QrjBXXUmMMj7NoP3rCqzQkAI5YQlscX+2zHP+is+0d ni3NcRJrVskHD62/plvYgddURxN04nH3uKN6bdv+LaqY27mTfV2VK+uLt51TCJuog5j2 osMYQNClbGRNTbsSRGA09wmEiuLp9DlkDrsNDtR8ffFsqSH2tv3LBUbqHIVFnbpaBK2Q 8Rlg== X-Received: by 10.13.204.204 with SMTP id o195mr67187808ywd.175.1452187786129; Thu, 07 Jan 2016 09:29:46 -0800 (PST) Received: from Nebula.lan (c-68-34-224-206.hsd1.al.comcast.net. [68.34.224.206]) by smtp.gmail.com with ESMTPSA id n4sm6450475ywn.18.2016.01.07.09.29.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 09:29:45 -0800 (PST) From: Jonathan Creekmore To: xen-devel@lists.xenproject.org Date: Thu, 7 Jan 2016 11:29:19 -0600 Message-Id: <1452187761-38328-4-git-send-email-jonathan.creekmore@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452187761-38328-1-git-send-email-jonathan.creekmore@gmail.com> References: <1452187761-38328-1-git-send-email-jonathan.creekmore@gmail.com> Cc: Keir Fraser , Ian Campbell , Jonathan Creekmore , Stefano Stabellini , Jan Beulich , Andrew Cooper Subject: [Xen-devel] [PATCH v3 3/5] build: Alloc space for sched list in the link file X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Creates a section to contain scheduler entry pointers that are gathered together into an array. This will allow, in a follow-on patch, scheduler entries to be automatically gathered together into the array for automatic parsing. CC: Ian Campbell CC: Stefano Stabellini CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper Signed-off-by: Jonathan Creekmore Reviewed-by: Andrew Cooper Reviewed-by: Doug Goldstein Reviewed-by: Konrad Rzeszutek Wilk --- Changed since v1: * rename the __start and __end symbols to better match the rest of the file --- xen/arch/arm/xen.lds.S | 4 ++++ xen/arch/x86/xen.lds.S | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index 0488f37..f501a2f 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -57,6 +57,10 @@ SECTIONS . = ALIGN(PAGE_SIZE); *(.data.page_aligned) *(.data) + . = ALIGN(8); + __start_schedulers_array = .; + *(.data.schedulers) + __end_schedulers_array = .; *(.data.rel) *(.data.rel.*) CONSTRUCTORS diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index e18e08f..c1ce027 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -80,6 +80,10 @@ SECTIONS __stop___pre_ex_table = .; *(.data.read_mostly) + . = ALIGN(8); + __start_schedulers_array = .; + *(.data.schedulers) + __end_schedulers_array = .; *(.data.rel.ro) *(.data.rel.ro.*) } :text