[PATCH 4.9 018/177] cpufreq/sh: Replace racy task affinity logic