+ arch-cris-arch-v10-vmlinuxldss-fix-boot-problem.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     arch/cris/arch-v10/vmlinux.lds.S fix boot problem
has been added to the -mm tree.  Its filename is
     arch-cris-arch-v10-vmlinuxldss-fix-boot-problem.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: arch/cris/arch-v10/vmlinux.lds.S fix boot problem
From: Yuusei KUWANA <kuwana@xxxxxxxxxx>

arch/cris/arch-v10/vmlinux.lds.S
 fix boot problem
* too old initcall style. replace INITCALLS macro
* __init_begin, __init_end move for free_initmem()

Note: with this patch kernel boot and mount root,
but after init done,  kernel panic at do_signal() ...

Signed-off-by: Yuusei KUWANA <ryu@xxxxxxxxxx>
Cc: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/cris/arch-v10/vmlinux.lds.S |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff -puN arch/cris/arch-v10/vmlinux.lds.S~arch-cris-arch-v10-vmlinuxldss-fix-boot-problem arch/cris/arch-v10/vmlinux.lds.S
--- a/arch/cris/arch-v10/vmlinux.lds.S~arch-cris-arch-v10-vmlinuxldss-fix-boot-problem
+++ a/arch/cris/arch-v10/vmlinux.lds.S
@@ -53,26 +53,22 @@ SECTIONS
   	.data.init_task : { *(.data.init_task) }
 
   	. = ALIGN(8192);              /* Init code and data */
-  	__init_begin = .;
 	.init.text : { 
 		   _sinittext = .;
 		   *(.init.text)
 		   _einittext = .;
 	}
+  	__init_begin = .;
   	.init.data : { *(.init.data) }
+  	__init_end = .;
+
   	. = ALIGN(16);
   	__setup_start = .;
   	.init.setup : { *(.init.setup) }
   	__setup_end = .;
   	.initcall.init : {
 		__initcall_start = .;
-		*(.initcall1.init);
-		*(.initcall2.init);
-		*(.initcall3.init);
-		*(.initcall4.init);
-		*(.initcall5.init);
-		*(.initcall6.init);
-		*(.initcall7.init);
+			INITCALLS
 		__initcall_end = .;	
 	}
 
@@ -97,7 +93,6 @@ SECTIONS
 #endif
 	
 	__vmlinux_end = .;            /* last address of the physical file */
-  	__init_end = .;
 
 	__data_end = . ;              /* Move to _edata ? */
 	__bss_start = .;              /* BSS */
_

Patches currently in -mm which might be from kuwana@xxxxxxxxxx are

arch-cris-arch-v10-vmlinuxldss-fix-boot-problem.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux