Advertisement
infected_

Untitled

Feb 1st, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. static void smartass_early_suspend(struct early_suspend *handler) {
  2. int i;
  3. if (suspended || sleep_ideal_freq==0) // disable behavior for sleep_ideal_freq==0
  4. return;
  5. suspended = 1;
  6. for_each_online_cpu(i)
  7. smartass_suspend(i,1);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement