summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorMahendran Ganesh <opensource.ganesh@gmail.com>2018-04-25 18:59:31 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-10 11:36:46 +0200
commit00ee22c28915d111ba415750a3311d7678fd1206 (patch)
tree97f54410d8c5ffe5709d6a8a34dea7d381d70314 /kernel/power
parent7f817ba942940df382de085f9b830f77411562f2 (diff)
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