• Arjan van de Ven's avatar
    x86: printk kernel version in WARN_ON and other dump_stack users · 57c351de
    Arjan van de Ven authored
    today, all oopses contain a version number of the kernel, which is nice
    because the people who actually do bother to read the oops get this
    vital bit of information always without having to ask the reporter in
    another round trip.
    
    However, WARN_ON() and many other dump_stack() users right now lack this
    information; the patch below adds this. This information is essential
    for getting people to use their time effectively when looking at these
    things; in addition, it's essential for tools that try to collect
    statistics about defects.
    
    Please consider, since its so simple and important for long term kernel
    quality processes.
    
    The code is identical between 32/64 bit; a lot of this code should be
    unified over time, the patch keeps the identical-ness intact.
    Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    57c351de
traps_64.c 28.7 KB