Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2022 12:11:34 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6bcd13222215 - main - LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h
Message-ID:  <202205171211.24HCBYeI093126@gitrepo.freebsd.org>

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



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