• Jeff Dike's avatar
    UML - Fix boot crash · 7c1fed03
    Jeff Dike authored
    My copying of linux/init.h didn't go far enough.  The definition of
    __used singled out gcc minor version 3, but didn't care what the major
    version was.  This broke when unit-at-a-time was added and gcc started
    throwing out initcalls.
    
    This results in an early boot crash when ptrace tries to initialize a
    process with an empty, uninitialized register set.
    Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    7c1fed03
init.h 4.18 KB