From: Conditionaly copy an attached ROMfs filesystem in memory on kernel startup. This should only be done if there really is a ROMfs there. --- 25-akpm/arch/m68knommu/platform/5407/CLEOPATRA/crt0_ram.S | 7 +++++++ 1 files changed, 7 insertions(+) diff -puN arch/m68knommu/platform/5407/CLEOPATRA/crt0_ram.S~conditional-romfs-copy-for-5407-cleopatra-board arch/m68knommu/platform/5407/CLEOPATRA/crt0_ram.S --- 25/arch/m68knommu/platform/5407/CLEOPATRA/crt0_ram.S~conditional-romfs-copy-for-5407-cleopatra-board Fri Apr 9 14:33:56 2004 +++ 25-akpm/arch/m68knommu/platform/5407/CLEOPATRA/crt0_ram.S Fri Apr 9 14:33:56 2004 @@ -124,6 +124,7 @@ _start: nop +#ifdef CONFIG_ROMFS_FS /* * Move ROM filesystem above bss :-) */ @@ -145,6 +146,12 @@ _copy_romfs: cmp.l %a0, %a2 /* Check if at end */ bne _copy_romfs +#else /* CONFIG_ROMFS_FS */ + lea.l _ebss, %a1 + move.l %a1, _ramstart +#endif /* CONFIG_ROMFS_FS */ + + /* * Zero out the bss region. */ _