On Tue, Mar 22, 2005 at 11:57:25PM +0100, Sam Ravnborg wrote:
> Something like this:
>
> ===== include/asm-generic/vmlinux.lds.h 1.18 vs edited =====
> --- 1.18/include/asm-generic/vmlinux.lds.h 2005-03-14 20:55:39 +01:00
> +++ edited/include/asm-generic/vmlinux.lds.h 2005-03-22 23:55:17 +01:00
> @@ -97,3 +97,12 @@
> VMLINUX_SYMBOL(__lock_text_start) = .; \
> *(.spinlock.text) \
> VMLINUX_SYMBOL(__lock_text_end) = .;
> +
> +/* initramfs area. */
> +# define INITRAMFS \
> + . = ALIGN(4096); \
Based on Tony's very valid comment this should read:
> + . = ALIGN(PAGE_SIZE); \
(Assuming the 4096 was a page alingment).
Sam