• Mike Frysinger's avatar
    vmlinux.lds.h: lower init ramfs alignment to 4 · d8826262
    Mike Frysinger authored
    The new init ramfs format (cpio based) requires an alignment of 4 (per the
    documentation and per the source files themselves).  As for compressed
    sources, the decompressors can all deal with unaligned buffers.
    
    The cpio source is also found in the __init sections of the kernel, so
    once they are read and expanded into a tmpfs, the source is freed.  That
    means there is no need to force page alignment here either.
    
    This has been used on Blackfin systems for many releases without issue.
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: <linux-arch@vger.kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    d8826262
vmlinux.lds.h 22.5 KB