0219-Revert-cpufreq-Temporarily-ignore-io_is_busy-1.patch 821 B

1234567891011121314151617181920212223242526
  1. From 7512663c7fc8117e3a57f0feef53de88fb8a2c89 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Wed, 30 Mar 2016 20:18:38 +0100
  4. Subject: [PATCH 219/381] Revert "cpufreq: Temporarily ignore io_is_busy=1"
  5. This reverts commit 2af1218a8a0220fec526f64d03977b8451afb4c8.
  6. ---
  7. drivers/cpufreq/cpufreq_ondemand.c | 7 +------
  8. 1 file changed, 1 insertion(+), 6 deletions(-)
  9. --- a/drivers/cpufreq/cpufreq_ondemand.c
  10. +++ b/drivers/cpufreq/cpufreq_ondemand.c
  11. @@ -307,12 +307,7 @@ static ssize_t store_io_is_busy(struct d
  12. ret = sscanf(buf, "%u", &input);
  13. if (ret != 1)
  14. return -EINVAL;
  15. - // XXX temporary hack
  16. - if (input > 1)
  17. - input = 1;
  18. - else
  19. - input = 0;
  20. - od_tuners->io_is_busy = input;
  21. + od_tuners->io_is_busy = !!input;
  22. /* we need to re-evaluate prev_cpu_idle */
  23. for_each_online_cpu(j) {