Messages in this thread | | | Subject | Re: [PATCH 1/3] cpuinfo: add sysfs based arch independent cpuinfo framework | From | Randy Dunlap <> | Date | Fri, 6 Dec 2019 08:56:02 -0800 |
| |
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
| |