[Xen-devel] [PATCH v2 2/4] arm/init: Move .init.proc.info into .init.data

2016-06-21 Thread Andrew Cooper
Its contents is constant, and only requires pointer alignment, so move it
adacent to .init.setup.

Signed-off-by: Andrew Cooper 
---
CC: Stefano Stabellini 
CC: Julien Grall 

v2:
 * New
---
 xen/arch/arm/xen.lds.S | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S
index 2ed7dee..b00ee81 100644
--- a/xen/arch/arm/xen.lds.S
+++ b/xen/arch/arm/xen.lds.S
@@ -141,6 +141,10 @@ SECTIONS
*(.init.setup)
__setup_end = .;
 
+   __proc_info_start = .;
+   *(.init.proc.info)
+   __proc_info_end = .;
+
*(.init.data)
*(.init.data.rel)
*(.init.data.rel.*)
@@ -151,11 +155,6 @@ SECTIONS
__ctors_end = .;
   } :text
   . = ALIGN(32);
-  .init.proc.info : {
-   __proc_info_start = .;
-   *(.init.proc.info)
-   __proc_info_end = .;
-  } :text
   .initcall.init : {
__initcall_start = .;
*(.initcallpresmp.init)
-- 
2.1.4


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [PATCH v2 2/4] arm/init: Move .init.proc.info into .init.data

2016-06-21 Thread Konrad Rzeszutek Wilk
On Tue, Jun 21, 2016 at 05:59:03PM +0100, Andrew Cooper wrote:
> Its contents is constant, and only requires pointer alignment, so move it
> adacent to .init.setup.

adjacent

with that Reviewed-by: Konrad Rzeszutek Wilk 

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [PATCH v2 2/4] arm/init: Move .init.proc.info into .init.data

2016-06-23 Thread Julien Grall

Hi Andrew,

On 21/06/16 17:59, Andrew Cooper wrote:

Its contents is constant, and only requires pointer alignment, so move it
adacent to .init.setup.

Signed-off-by: Andrew Cooper 


Acked-by: Julien Grall 

Regards,

--
Julien Grall

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel