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

From: Johannes Berg
Date: Tue Jan 04 2022 - 03:56:13 EST


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@xxxxxx>
> + */
> +
> +#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