"git@git.sphere.ly:matisse/android_kernel_samsung_matisse.git" did not exist on "9eb59573d4b86f347e6cd04f47a4c2082009fa58"
[CPUFREQ] Don't take semaphore in cpufreq_quick_get()
Andi Kleen authored

I don't see any reason to take an expensive lock in cpufreq_quick_get()
Reading policy->cur is a single atomic operation and after
the lock is dropped again the state could change any time anyways.

So don't take the lock in the first place.

This also makes this function interrupt safe which is useful
for some code of mine.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Cc: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
9eb59573