Re: [PATCH v2 1/1] drivers/base/cpu: Print kernel arch

Greg Kroah-Hartman
2022-09-01T14:29:37Z

On Fri, Jul 29, 2022 at 02:51:41PM +0200, Petr Vorel wrote:
> Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch.
>
> This helps people who debug kernel with initramfs with minimal
> environment (i.e. without coreutils or even busybox) or allow to open
> sysfs file instead of run 'uname -m' in high level languages.
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Documentation/admin-guide/sysctl/kernel.rst | 5 +++++
> kernel/utsname_sysctl.c | 7 +++++++
> 2 files changed, 12 insertions(+)

Wait, why does the subject line say "drivers/base/cpu"? That's not a
file being touched in this commit at all, so this isn't for me to take
:(

thanks,

greg k-h