Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2022 16:16:24 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b27c3aa800bb - main - LinuxKPI: lockdep.h add lockdep_{,un}register_key()
Message-ID:  <202209221616.28MGGOH7050311@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit b27c3aa800bb1b3fc6081895df501c367dc3d9cc
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-09-22 15:03:36 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-09-22 15:10:03 +0000

    LinuxKPI: lockdep.h add lockdep_{,un}register_key()
    
    Add NOPs for lockdep_{,un}register_key().
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      7 days
    Reviewed by:    hselasky, emaste
    Differential Revision: https://reviews.freebsd.org/D36658
---
 sys/compat/linuxkpi/common/include/linux/lockdep.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h
index 2289db7756d4..89e66267f3dc 100644
--- a/sys/compat/linuxkpi/common/include/linux/lockdep.h
+++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h
@@ -48,6 +48,8 @@ struct pin_cookie {
 #define	lockdep_set_current_reclaim_state(g) do { } while (0)
 #define	lockdep_clear_current_reclaim_state() do { } while (0)
 #define	lockdep_init_map(_map, _name, _key, _x) do { } while(0)
+#define	lockdep_register_key(key) do { } while(0)
+#define	lockdep_unregister_key(key) do { } while(0)
 
 #ifdef INVARIANTS
 #define	lockdep_assert_not_held(m) do {					\



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