[PATCH v2 1/1] kernel.h: Split out panic and oops helpers
Helge Deller
deller at gmx.de
Fri Apr 9 20:41:57 BST 2021
On 4/9/21 12:02 PM, Andy Shevchenko wrote:
> 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.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Reviewed-by: Bjorn Andersson <bjorn.andersson at linaro.org>
> Acked-by: Mike Rapoport <rppt at linux.ibm.com>
> Acked-by: Corey Minyard <cminyard at mvista.com>
> Acked-by: Christian Brauner <christian.brauner at ubuntu.com>
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> Acked-by: Kees Cook <keescook at chromium.org>
> Acked-by: Wei Liu <wei.liu at kernel.org>
> Acked-by: Rasmus Villemoes <linux at rasmusvillemoes.dk>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Acked-by: Helge Deller <deller at gmx.de> # parisc
Helge
More information about the kexec
mailing list