lkml.org 
[lkml]   [2019]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] cpuinfo: add sysfs based arch independent cpuinfo framework
From
Date
On 12/6/19 8:24 AM, Thomas Renninger wrote:
> diff --git a/arch/Kconfig b/arch/Kconfig
> index 48b5e103bdb0..39015570b1ca 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -882,6 +882,17 @@ config STRICT_MODULE_RWX
> and non-text memory will be made non-executable. This provides
> protection against certain security exploits (e.g. writing to text)
>
> +config CPUINFO_SYSFS
> + bool "Provides processor information in sysfs. Successor of /proc/cpuinfo"

Provide

> + def_bool y
> + depends on HAVE_CPUINFO_SYSFS
> + help
> + Provides architecture specific processor information in /sys/devices/system/cpu/info> + Use this instead of /proc/cpuinfo

End those 2 sentences with periods (full stop), please.

> +
> +config HAVE_CPUINFO_SYSFS
> + bool
> +
> # select if the architecture provides an asm/dma-direct.h header
> config ARCH_HAS_PHYS_TO_DMA
> bool


--
~Randy

\
 
 \ /
  Last update: 2019-12-06 17:57    [W:0.092 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site