linux 6.1.y: NR_CPUS is buggy on 6.1, let's ignore the setting with a warning
https://bugzilla.kernel.org/show_bug.cgi?id=216823 https://github.com/Frogging-Family/linux-tkg/issues/696
This commit is contained in:
@@ -1573,9 +1573,13 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# NR_CPUS
|
# NR_CPUS
|
||||||
if [ -n "$_NR_CPUS_value" ]; then
|
if [ "$_basever" != "601" ]; then
|
||||||
scripts/config --set-val "NR_CPUS" "$_NR_CPUS_value"
|
if [ -n "$_NR_CPUS_value" ]; then
|
||||||
_enable "FORCE_NR_CPUS"
|
scripts/config --set-val "NR_CPUS" "$_NR_CPUS_value"
|
||||||
|
_enable "FORCE_NR_CPUS"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
warning "NR_CPUS is bugged on 6.1.y, so your setting was ignored"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user