• Andrew Morton's avatar
    [PATCH] revert the "remove kernel_flag" patch · d7ed858e
    Andrew Morton authored
    With CONFIG_SMP=n, CONFIG_PREEMPT=y, CONFIG_DEBUG_SPINLOCK=y we get many
    undefined refs to kernel_flag.
    
    This is because spinlock debugging works on uniprocessor kernels now, and it
    stores state inside the spinlock structure to do this.
    
    Having working spinlock debugging on UP kernels seems more important than
    saving four bytes, so...
    d7ed858e
ksyms.c 16.7 KB