summaryrefslogtreecommitdiffstats
blob: a2f0033d167c55e0beda4af5ec1ab81c46a487cd (plain) (blame)
1
2
3
4
5
#!/system/bin/sh

# Assign all CPUs for foreground (AM571x and AM572x have different number of cores)
cat /sys/devices/system/cpu/present > /dev/cpuset/foreground/cpus
cat /sys/devices/system/cpu/present > /dev/cpuset/foreground/boost/cpus