eliminate .data.idt section for the archs which do not use it
cover eliminate .data.idt section for the archs which do not use it
This patch series do a small clean up over vmlinux.lds script for several architectures where the section .data.idt is not used.
Please review.
Thanks.
- Cyrill -
PATCH 1/3 m32r: cleanup - drop .data.idt section in vmlinux.lds script
The section .data.idt is not used at all - so drop it.
---
vmlinux.lds.S | 3 --- 1 file changed, 3 deletions(-)
arch/m32r/kernel/vmlinux.lds.S +0 -3
@@ -60,9 +60,6 @@ SECTIONS . = ALIGN(4096); __nosave_end = .; - . = ALIGN(4096); - .data.page_aligned : { *(.data.idt) } - . = ALIGN(32); .data.cacheline_aligned : { *(.data.cacheline_aligned) }
Re: [patch 1/3] m32r: cleanup - drop .data.idt section in vmlinux.lds script
Quoted 1 line · On Wed, Feb 20, 2008 at 10:41:24PM +0300, [email protected] wrote:
The section .data.idt is not used at all - so drop it.
Only used by 32 bit x86 to be precise.
Quoted 2 lines
Signed-off-by Cyrill Gorcunov <[email protected]>
Quoted 21 lines
---
vmlinux.lds.S | 3 --- 1 file changed, 3 deletions(-)Index:
linux-2.6.git/arch/m32r/kernel/vmlinux.lds.S
===================================================================arch/m32r/kernel/vmlinux.lds.S +0
-3@@ -60,9 +60,6 @@ SECTIONS . = ALIGN(4096); __nosave_end = .; - . = ALIGN(4096); - .data.page_aligned : { *(.data.idt) } - . = ALIGN(32); .data.cacheline_aligned : { *(.data.cacheline_aligned) }Signature · 1 line
--
PATCH 2/3 mn10300: cleanup - drop .data.idt section in vmlinux.lds script
In reply to [email protected]The section .data.idt is not used at all - so drop it.
---
vmlinux.lds.S | 3 --- 1 file changed, 3 deletions(-)
arch/mn10300/kernel/vmlinux.lds.S +0 -3
@@ -61,9 +61,6 @@ SECTIONS . = ALIGN(4096); __nosave_end = .; - . = ALIGN(4096); - .data.page_aligned : { *(.data.idt) } - . = ALIGN(32); .data.cacheline_aligned : { *(.data.cacheline_aligned) }
Re: [patch 2/3] mn10300: cleanup - drop .data.idt section in vmlinux.lds script
Quoted 3 lines · On Wed, Feb 20, 2008 at 10:41:25PM +0300, [email protected] wrote:
The section .data.idt is not used at all - so drop it.
Signed-off-by Cyrill Gorcunov <[email protected]>
Quoted 21 lines
---
vmlinux.lds.S | 3 --- 1 file changed, 3 deletions(-)Index:
linux-2.6.git/arch/mn10300/kernel/vmlinux.lds.S
===================================================================arch/mn10300/kernel/vmlinux.lds.S +0
-3@@ -61,9 +61,6 @@ SECTIONS . = ALIGN(4096); __nosave_end = .; - . = ALIGN(4096); - .data.page_aligned : { *(.data.idt) } - . = ALIGN(32); .data.cacheline_aligned : { *(.data.cacheline_aligned) }Signature · 1 line
--
PATCH 2/3 mn10300: cleanup - drop .data.idt section in vmlinux.lds script
The section .data.idt is not used at all - so drop it.
---
vmlinux.lds.S | 3 --- 1 file changed, 3 deletions(-)
arch/mn10300/kernel/vmlinux.lds.S +0 -3
@@ -61,9 +61,6 @@ SECTIONS . = ALIGN(4096); __nosave_end = .; - . = ALIGN(4096); - .data.page_aligned : { *(.data.idt) } - . = ALIGN(32); .data.cacheline_aligned : { *(.data.cacheline_aligned) }
PATCH 3/3 s390: cleanup - drop .data.idt section in vmlinux.lds script
In reply to [email protected]The section .data.idt is not used at all - so drop it.
---
vmlinux.lds.S | 5 ----- 1 file changed, 5 deletions(-)
arch/s390/kernel/vmlinux.lds.S +0 -5
@@ -71,11 +71,6 @@ SECTIONS . = ALIGN(PAGE_SIZE); __nosave_end = .; - . = ALIGN(PAGE_SIZE); - .data.page_aligned : { - *(.data.idt) - } - . = ALIGN(0x100); .data.cacheline_aligned : { *(.data.cacheline_aligned)
Re: [patch 3/3] s390: cleanup - drop .data.idt section in vmlinux.lds script
Quoted 3 lines · On Wed, Feb 20, 2008 at 10:41:26PM +0300, [email protected] wrote:
The section .data.idt is not used at all - so drop it.
Signed-off-by Cyrill Gorcunov <[email protected]>
Quoted 23 lines
---
vmlinux.lds.S | 5 ----- 1 file changed, 5 deletions(-)Index:
linux-2.6.git/arch/s390/kernel/vmlinux.lds.S
===================================================================arch/s390/kernel/vmlinux.lds.S +0
-5@@ -71,11 +71,6 @@ SECTIONS . = ALIGN(PAGE_SIZE); __nosave_end = .; - . = ALIGN(PAGE_SIZE); - .data.page_aligned : { - *(.data.idt) - } - . = ALIGN(0x100); .data.cacheline_aligned : { *(.data.cacheline_aligned)Signature · 1 line
--
Re: [patch 3/3] s390: cleanup - drop .data.idt section in vmlinux.lds script
In reply to [email protected]Quoted 3 lines · On Wed, 2008-02-20 at 22:41 +0300, [email protected] wrote:
The section .data.idt is not used at all - so drop it.
Signed-off-by Cyrill Gorcunov <[email protected]>
Quoted 22 lines
---
vmlinux.lds.S | 5 ----- 1 file changed, 5 deletions(-)Index:
linux-2.6.git/arch/s390/kernel/vmlinux.lds.S
===================================================================arch/s390/kernel/vmlinux.lds.S +0
-5@@ -71,11 +71,6 @@ SECTIONS . = ALIGN(PAGE_SIZE); __nosave_end = .; - . = ALIGN(PAGE_SIZE); - .data.page_aligned : { - *(.data.idt) - } - . = ALIGN(0x100); .data.cacheline_aligned : { *(.data.cacheline_aligned)
Signature · 4 lines
blue skies, Martin. "Reality continues to ruin my life." - Calvin.
Re: [patch 3/3] s390: cleanup - drop .data.idt section in vmlinux.lds script
Quoted 6 lines · Martin Schwidefsky
Quoted 3 lines · On Wed, 2008-02-20 at 22:41 +0300, [email protected] wrote:
The section .data.idt is not used at all - so drop it.
Signed-off-by Cyrill Gorcunov <[email protected]>
Martin - I expect you to take the patch as it only touches s390. OK?
Sam
Re: [patch 3/3] s390: cleanup - drop .data.idt section in vmlinux.lds script
Quoted 9 lines · Sam Ravnborg
Quoted 6 lines · Martin Schwidefsky
Quoted 3 lines · On Wed, 2008-02-20 at 22:41 +0300, [email protected] wrote:
The section .data.idt is not used at all - so drop it.
Signed-off-by Cyrill Gorcunov <[email protected]>Martin - I expect you to take the patch as it only touches s390. OK?
Fine with me.
Signature · 4 lines
blue skies, Martin. "Reality continues to ruin my life." - Calvin.