[PATCH 1/4] um: Run console exit code also upon kernel panic
Johannes Berg
johannes at sipsolutions.net
Tue Jan 4 00:56:07 PST 2022
On Sat, 2022-01-01 at 22:58 +0100, Richard Weinberger wrote:
>
> diff --git a/arch/um/include/shared/uml_console.h b/arch/um/include/shared/uml_console.h
> new file mode 100644
> index 000000000000..aa8d02fe5e90
> --- /dev/null
> +++ b/arch/um/include/shared/uml_console.h
> @@ -0,0 +1,11 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Copyright (C) 2022 Richard Weinberger <richard at nod.at>
> + */
> +
> +#ifndef UML_CONSOLE_H
> +#define UML_CONSOLE_H
> +
> +extern void uml_console_exit(void);
>
Not sure it's worth adding a whole new file just for this, but also
doesn't really matter :)
johannes
More information about the linux-um
mailing list