diff options
author | Vladimir Kondratyev <wulf@FreeBSD.org> | 2022-05-17 12:10:20 +0000 |
---|---|---|
committer | Vladimir Kondratyev <wulf@FreeBSD.org> | 2022-05-17 12:10:20 +0000 |
commit | 6bcd13222215da58f17a54db1592afc36df47f83 (patch) | |
tree | cc5a457976de6f007540ca2fcf20e28382120711 | |
parent | 41559beb000555770cff1e1b3ef0275157aeb608 (diff) | |
download | src-6bcd13222215da58f17a54db1592afc36df47f83.tar.gz src-6bcd13222215da58f17a54db1592afc36df47f83.zip |
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
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/pm_qos.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |