Skip to contentSkip to conversation

eliminate .data.idt section for the archs which do not use it

PATCH In review [email protected] 4 participants 11 messages Feb 20, 2008 – Feb 21, 2008 s390

lore
Share & tools
lore
#0 lore raw

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 -

#1 lore raw

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
Index: linux-2.6.git/arch/m32r/kernel/vmlinux.lds.S
===================================================================
@@ -60,9 +60,6 @@ SECTIONS
   . = ALIGN(4096);
   __nosave_end = .;
 
-  . = ALIGN(4096);
-  .data.page_aligned : { *(.data.idt) }
-
   . = ALIGN(32);
   .data.cacheline_aligned : { *(.data.cacheline_aligned) }
 
Acked-by on v1 1/3
#2 lore raw

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
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
-- 
#3 lore raw

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
Index: linux-2.6.git/arch/mn10300/kernel/vmlinux.lds.S
===================================================================
@@ -61,9 +61,6 @@ SECTIONS
   . = ALIGN(4096);
   __nosave_end = .;
 
-  . = ALIGN(4096);
-  .data.page_aligned : { *(.data.idt) }
-
   . = ALIGN(32);
   .data.cacheline_aligned : { *(.data.cacheline_aligned) }
 
Acked-by on v1 2/3
#4 lore raw

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.

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
-- 
#5 lore raw

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
Index: linux-2.6.git/arch/mn10300/kernel/vmlinux.lds.S
===================================================================
@@ -61,9 +61,6 @@ SECTIONS
   . = ALIGN(4096);
   __nosave_end = .;
 
-  . = ALIGN(4096);
-  .data.page_aligned : { *(.data.idt) }
-
   . = ALIGN(32);
   .data.cacheline_aligned : { *(.data.cacheline_aligned) }
 
#6 lore raw

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
Index: linux-2.6.git/arch/s390/kernel/vmlinux.lds.S
===================================================================
@@ -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)
Acked-by on v1 3/3
#7 lore raw

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.

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
-- 
Acked-by on v1 3/3
#8 lore raw

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.

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.
#10 lore raw

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.

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.