diff options
author | Mahendran Ganesh <opensource.ganesh@gmail.com> | 2018-04-25 18:59:31 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-10 11:36:46 +0200 |
commit | 00ee22c28915d111ba415750a3311d7678fd1206 (patch) | |
tree | 97f54410d8c5ffe5709d6a8a34dea7d381d70314 /kernel/power | |
parent | 7f817ba942940df382de085f9b830f77411562f2 (diff) | |
download | linux-00ee22c28915d111ba415750a3311d7678fd1206.tar.bz2 |
PM / wakeup: Use seq_open() to show wakeup stats
single_open() interface requires that the whole output must
fit into a single buffer. This will lead to timeout when
system memory is not in a good situation.
This patch use seq_open() to show wakeup stats. This method
need only one page, so timeout will not be observed.
Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions