Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2022 21:51:48 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 54aeef3a7988 - stable/13 - LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h
Message-ID:  <202206012151.251LpmX9042800@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206012151.251LpmX9042800>