• Sam Ravnborg's avatar
    x86, vmlinux.lds: unify first part of initdata · e58bdaa8
    Sam Ravnborg authored
    32-bit:
    
     - Move definition of __init_begin outside output_section
       because it covers more than one section
     - Move ALIGN() for end-of-section inside .smp_locks output section.
       Same effect but the intent is better documented that
       we need both start and end aligned.
    
    64-bit:
    
     - Move ALIGN() outside output section in .init.setup
     - Deleted unused __smp_alt_* symbols
    
    None of the above should result in any functional change.
    
    [ Impact: refactor and unify linker script ]
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Tim Abbott <tabbott@MIT.EDU>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    LKML-Reference: <1240991249-27117-9-git-send-email-sam@ravnborg.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    e58bdaa8
vmlinux.lds.S 7.3 KB