microblaze: __init_begin symbol must be aligned
authorMichal Simek <monstr@monstr.eu>
Fri, 30 Oct 2009 13:41:52 +0000 (14:41 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:40:08 +0000 (08:40 +0100)
commit13cdee23296c437cdd0262a09c3455de8e1e85b2
treea08a78c7a72b8d049e7c4ecb86f1da105051497a
parent42a2478b789cb1b4335909e0fecc721c07be7d90
microblaze: __init_begin symbol must be aligned

The problem was that free_initmem pass to  free_initrd_mem got
bad aligned __init_begin symbol and free_initrd_mem don't care
about __init_end but take PAGE_SIZE instead.

Here is behavior in kernel bootlog.
ramdisk_execute_command from (init/main.c) was rewrite

Freeing unused kernel memory: 6224k freed
Failed to execute ��������������{���
Failed to execute ��������������{����.  Attempting defaults...
Mounting proc:
Mounting var:

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/vmlinux.lds.S