summaryrefslogtreecommitdiffstats
path: root/fs/kernfs
diff options
context:
space:
mode:
authorZeng Tao <prime.zeng@hisilicon.com>2020-01-17 02:52:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-17 15:21:49 +0100
commitf3c19481820cca412a768ae1d6737f59b68acfed (patch)
treeb9fd5f8c709847f3e60bc90f11d5c0d8eafa5425 /fs/kernfs
parentdebugfs: Return -EPERM when locked down (diff)
downloadlinux-f3c19481820cca412a768ae1d6737f59b68acfed.tar.xz
linux-f3c19481820cca412a768ae1d6737f59b68acfed.zip
cpu-topology: Don't error on more than CONFIG_NR_CPUS CPUs in device tree
When the kernel is configured with CONFIG_NR_CPUS smaller than the number of CPU nodes in the device tree(DT), all the CPU nodes parsing done to fetch topology information will fail. This is not reasonable as it is legal to have all the physical CPUs in the system in the DT. Let us just skip such CPU DT nodes that are not used in the kernel rather than returning an error. Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com> Link: https://lore.kernel.org/r/1579225973-32423-1-git-send-email-prime.zeng@hisilicon.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions