Skip to content

Commit 29a2020

Browse files
committed
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: Geert Uytterhoeven <geert@linux-m68k.org>
1 parent b3ce717 commit 29a2020

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/m68k/include/asm/bootinfo.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* This way I hope to keep all future changes back/forewards compatible.
3535
* Thus, keep your fingers crossed...
3636
*
37-
* This structure is copied right after the kernel bss by the bootstrap
37+
* This structure is copied right after the kernel by the bootstrap
3838
* routine.
3939
*/
4040

‎arch/m68k/kernel/head.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ L(cache_done):
15321532

15331533
/*
15341534
* Find a tag record in the bootinfo structure
1535-
* The bootinfo structure is located right after the kernel bss
1535+
* The bootinfo structure is located right after the kernel
15361536
* Returns: d0: size (-1 if not found)
15371537
* a0: data pointer (end-of-records if not found)
15381538
*/

‎arch/m68k/kernel/setup_mm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void __init setup_arch(char **cmdline_p)
220220
int i;
221221
#endif
222222

223-
/* The bootinfo is located right after the kernel bss */
223+
/* The bootinfo is located right after the kernel */
224224
if (!CPU_IS_COLDFIRE)
225225
m68k_parse_bootinfo((const struct bi_record *)_end);
226226

0 commit comments

Comments
 (0)