Updated cpufreq.c from ElementalX

Pulled code and added ElementalX changes to Kernel.