[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YxDBvD5XrbLApWMy@kroah.com>
Date: Thu, 1 Sep 2022 16:29:16 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Petr Vorel <pvorel@...e.cz>
Cc: linux-kernel@...r.kernel.org,
"Rafael J. Wysocki" <rafael@...nel.org>,
David Sterba <dsterba@...e.com>
Subject: Re: [PATCH v2 1/1] drivers/base/cpu: Print kernel arch
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@...e.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
Powered by blists - more mailing lists