git: 6bcd13222215 - main - LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h

From: Vladimir Kondratyev <wulf_at_FreeBSD.org>
Date: Tue, 17 May 2022 12:11:34 UTC
The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=6bcd13222215da58f17a54db1592afc36df47f83

commit 6bcd13222215da58f17a54db1592afc36df47f83
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2022-05-17 12:10:20 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2022-05-17 12:10:20 +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
---
 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 */