kernel.h: split out panic and oops helpers
kernel.h is being used as a dump for all kinds of stuff for a long time. Here is the attempt to start cleaning it up by splitting out panic and oops helpers. There are several purposes of doing this: - dropping dependency in bug.h - dropping a loop by moving out panic_notifier.h - unload kernel.h from something which has its own domain At the same time convert users tree-wide to use new headers, although for the time being include new header back to kernel.h to avoid twisted indirected includes for existing users. [akpm@linux-foundation.org: thread_info.h needs limits.h] [andriy.shevchenko@linux.intel.com: ia64 fix] Link: https://lkml.kernel.org/r/20210520130557.55277-1-andriy.shevchenko@linux.intel.com Link: https://lkml.kernel.org/r/20210511074137.33666-1-andriy.shevchenko@linux.intel.com Signed-off-by:Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Bjorn Andersson <bjorn.andersson@linaro.org> Co-developed-by:
Andrew Morton <akpm@linux-f...>
Showing
- arch/alpha/kernel/setup.c 1 addition, 1 deletionarch/alpha/kernel/setup.c
- arch/arm64/kernel/setup.c 1 addition, 0 deletionsarch/arm64/kernel/setup.c
- arch/ia64/include/asm/pal.h 1 addition, 0 deletionsarch/ia64/include/asm/pal.h
- arch/mips/kernel/relocate.c 1 addition, 0 deletionsarch/mips/kernel/relocate.c
- arch/mips/sgi-ip22/ip22-reset.c 1 addition, 0 deletionsarch/mips/sgi-ip22/ip22-reset.c
- arch/mips/sgi-ip32/ip32-reset.c 1 addition, 0 deletionsarch/mips/sgi-ip32/ip32-reset.c
- arch/parisc/kernel/pdc_chassis.c 1 addition, 0 deletionsarch/parisc/kernel/pdc_chassis.c
- arch/powerpc/kernel/setup-common.c 1 addition, 0 deletionsarch/powerpc/kernel/setup-common.c
- arch/s390/kernel/ipl.c 1 addition, 0 deletionsarch/s390/kernel/ipl.c
- arch/sparc/kernel/sstate.c 1 addition, 0 deletionsarch/sparc/kernel/sstate.c
- arch/um/drivers/mconsole_kern.c 1 addition, 0 deletionsarch/um/drivers/mconsole_kern.c
- arch/um/kernel/um_arch.c 1 addition, 0 deletionsarch/um/kernel/um_arch.c
- arch/x86/include/asm/desc.h 1 addition, 0 deletionsarch/x86/include/asm/desc.h
- arch/x86/kernel/cpu/mshyperv.c 1 addition, 0 deletionsarch/x86/kernel/cpu/mshyperv.c
- arch/x86/kernel/setup.c 1 addition, 0 deletionsarch/x86/kernel/setup.c
- arch/x86/purgatory/purgatory.c 2 additions, 0 deletionsarch/x86/purgatory/purgatory.c
- arch/x86/xen/enlighten.c 1 addition, 0 deletionsarch/x86/xen/enlighten.c
- arch/xtensa/platforms/iss/setup.c 1 addition, 0 deletionsarch/xtensa/platforms/iss/setup.c
- drivers/bus/brcmstb_gisb.c 1 addition, 0 deletionsdrivers/bus/brcmstb_gisb.c
- drivers/char/ipmi/ipmi_msghandler.c 1 addition, 0 deletionsdrivers/char/ipmi/ipmi_msghandler.c
Please register or sign in to comment