aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-01-13 19:51:59 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-01-20 17:18:02 +0100
commit65e18e6544751ac25dc284794566ee90d65a379e (patch)
tree423e105bcd64ad6bce2e7a5714c9f5284a2e0967 /net/lapb/lapb_timer.c
parentcpuidle: teo: Simplify handling of total events count (diff)
downloadwireguard-linux-65e18e6544751ac25dc284794566ee90d65a379e.tar.xz
wireguard-linux-65e18e6544751ac25dc284794566ee90d65a379e.zip
cpuidle: teo: Replace time_span_ns with a flag
After recent updates, the time_span_ns field in struct teo_cpu has become an indicator on whether or not the most recent wakeup has been "genuine" which may as well be indicated by a bool field without calling local_clock(), so update the code accordingly. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Christian Loehle <christian.loehle@arm.com> Tested-by: Aboorva Devarajan <aboorvad@linux.ibm.com> Tested-by: Christian Loehle <christian.loehle@arm.com> Link: https://patch.msgid.link/6010475.MhkbZ0Pkbq@rjwysocki.net
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions