-2

how to add the Governor in the appropriate spot..they said"Add the following lines in appropriate spot amongst the other govenor's" Yes, they've given one code that i have to add, but how ?

here is the code:-

config CPU_FREQ_DEFAULT_GOV_SMARTASS
            bool "smartass"
            select CPU_FREQ_GOV_SMARTASS
            select CPU_FREQ_GOV_PERFORMANCE
            help
              Use the CPUFreq governor 'smartass' as default.
  • I assume this has something to do with building the Linux kernel? – Otheus Dec 31 '15 at 13:56
  • yes it is...@Otheus – Smshrimant Jan 1 '16 at 8:46
  • For the benefit of having your question answered, you should update the title of you question. Something like "configuring Linux kernel: how to add a governor". I have no idea what the answer is, but at least I understand the question. Otherwise, it looks like the entire question is a troll – Otheus Jan 2 '16 at 1:56
0

Try adding your code to the file drivers/cpufreq/Kconfig (using the other entries in that file as a guide to the formatting).

You will likely also have to do a few other things (e.g. edit drivers/cpufreq/Makefile and add a reference to your governor module source code - see section with comment # CPUfreq governors)

  • OK, Will try that – Smshrimant Jun 20 '18 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.