Re: [PATCH 1/4] um: Run console exit code also upon kernel panic

Johannes Berg
2022-01-04T08:56:11Z

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@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