git: 54aeef3a7988 - stable/13 - LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jun 2022 21:51:48 UTC
The branch stable/13 has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=54aeef3a79887736bdb13c1430159553110c1104 commit 54aeef3a79887736bdb13c1430159553110c1104 Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2022-05-17 12:10:20 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2022-06-01 21:50:14 +0000 LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h Required by: drm-kmod 5.10 MFC after: 1 week Reviewers: hselasky, manu Differential Revision: https://reviews.freebsd.org/D35049 (cherry picked from commit 6bcd13222215da58f17a54db1592afc36df47f83) --- sys/compat/linuxkpi/common/include/linux/pm_qos.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/pm_qos.h b/sys/compat/linuxkpi/common/include/linux/pm_qos.h index 6b9d48c5be6e..8a9b3bdbd1ef 100644 --- a/sys/compat/linuxkpi/common/include/linux/pm_qos.h +++ b/sys/compat/linuxkpi/common/include/linux/pm_qos.h @@ -50,4 +50,10 @@ cpu_latency_qos_remove_request(struct pm_qos_request *qos) { } +static inline bool +cpu_latency_qos_request_active(struct pm_qos_request *qos) +{ + return (false); +} + #endif /* _LINUXKPI_LINUX_PM_QOS_H */