lkml.org 
[lkml]   [2022]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@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

\
 
 \ /
  Last update: 2022-09-01 16:31    [W:0.073 / U:1.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site