Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void smartass_early_suspend(struct early_suspend *handler) {
- int i;
- if (suspended || sleep_ideal_freq==0) // disable behavior for sleep_ideal_freq==0
- return;
- suspended = 1;
- for_each_online_cpu(i)
- smartass_suspend(i,1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement