Commit 29a20203 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k: The bootinfo is located right after the kernel

Since the introduction of init sections (which are located after BSS), the
bootinfo is no longer located right after the BSS, but after all kernel
sections.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent b3ce7172
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* This way I hope to keep all future changes back/forewards compatible. * This way I hope to keep all future changes back/forewards compatible.
* Thus, keep your fingers crossed... * Thus, keep your fingers crossed...
* *
* This structure is copied right after the kernel bss by the bootstrap * This structure is copied right after the kernel by the bootstrap
* routine. * routine.
*/ */
......
...@@ -1532,7 +1532,7 @@ L(cache_done): ...@@ -1532,7 +1532,7 @@ L(cache_done):
/* /*
* Find a tag record in the bootinfo structure * Find a tag record in the bootinfo structure
* The bootinfo structure is located right after the kernel bss * The bootinfo structure is located right after the kernel
* Returns: d0: size (-1 if not found) * Returns: d0: size (-1 if not found)
* a0: data pointer (end-of-records if not found) * a0: data pointer (end-of-records if not found)
*/ */
......
...@@ -220,7 +220,7 @@ void __init setup_arch(char **cmdline_p) ...@@ -220,7 +220,7 @@ void __init setup_arch(char **cmdline_p)
int i; int i;
#endif #endif
/* The bootinfo is located right after the kernel bss */ /* The bootinfo is located right after the kernel */
if (!CPU_IS_COLDFIRE) if (!CPU_IS_COLDFIRE)
m68k_parse_bootinfo((const struct bi_record *)_end); m68k_parse_bootinfo((const struct bi_record *)_end);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment