Default to 1000Hz tickrate for cacule prompt when timer_freq is unset
This commit is contained in:
@@ -1074,17 +1074,29 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
||||
echo "# CONFIG_HZ_2000 is not set" >> ./.config
|
||||
fi
|
||||
elif [ "${_cpusched}" = "MuQSS" ] && [ -z "$_timer_freq" ]; then
|
||||
sed -i -e 's/CONFIG_HZ=300/CONFIG_HZ=100/' ./.config
|
||||
echo "# CONFIG_HZ_500 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_750 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_1000_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_750_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_500_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_250_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_300_NODEF is not set" >> ./.config
|
||||
echo "CONFIG_HZ_100=y" >> ./.config
|
||||
echo "CONFIG_HZ_100_NODEF=y" >> ./.config
|
||||
echo "# CONFIG_HZ_2000 is not set" >> ./.config
|
||||
sed -i -e 's/CONFIG_HZ=300/CONFIG_HZ=100/' ./.config
|
||||
echo "# CONFIG_HZ_500 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_750 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_1000_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_750_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_500_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_250_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_300_NODEF is not set" >> ./.config
|
||||
echo "CONFIG_HZ_100=y" >> ./.config
|
||||
echo "CONFIG_HZ_100_NODEF=y" >> ./.config
|
||||
echo "# CONFIG_HZ_2000 is not set" >> ./.config
|
||||
elif [ "${_cpusched}" = "cacule" ] && [ -z "$_timer_freq" ]; then
|
||||
sed -i -e 's/CONFIG_HZ=300/CONFIG_HZ=1000/' ./.config
|
||||
echo "# CONFIG_HZ_500 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_750 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_1000_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_750_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_500_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_250_NODEF is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_300_NODEF is not set" >> ./.config
|
||||
echo "CONFIG_HZ_1000=y" >> ./.config
|
||||
echo "# CONFIG_HZ_100 is not set" >> ./.config
|
||||
echo "# CONFIG_HZ_100_NODEF is not set" >> ./.config
|
||||
else
|
||||
sed -i -e 's/CONFIG_HZ_300=y/# CONFIG_HZ_300 is not set/' ./.config
|
||||
sed -i -e 's/CONFIG_HZ_300_NODEF=y/# CONFIG_HZ_300_NODEF is not set/' ./.config
|
||||
|
Reference in New Issue
Block a user