From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH v3 3/5] build: Alloc space for sched list in the link file Date: Fri, 8 Jan 2016 10:48:18 -0500 Message-ID: <20160108154818.GF32260@char.us.oracle.com> References: <1452187761-38328-1-git-send-email-jonathan.creekmore@gmail.com> <1452187761-38328-4-git-send-email-jonathan.creekmore@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHZHF-0003Lo-Kh for xen-devel@lists.xenproject.org; Fri, 08 Jan 2016 15:48:33 +0000 Content-Disposition: inline In-Reply-To: <1452187761-38328-4-git-send-email-jonathan.creekmore@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jonathan Creekmore Cc: Keir Fraser , Ian Campbell , Andrew Cooper , Stefano Stabellini , Jan Beulich , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, Jan 07, 2016 at 11:29:19AM -0600, Jonathan Creekmore wrote: > 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 > -- > 2.6.4 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel