Module Name: src Committed By: riastradh Date: Sun Dec 19 01:20:53 UTC 2021
Modified Files: src/sys/external/bsd/drm2/include/linux: reservation.h Log Message: Define reservation_object_has_excl_fence as substitute for abstrusion. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/sys/external/bsd/drm2/include/linux/reservation.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/include/linux/reservation.h diff -u src/sys/external/bsd/drm2/include/linux/reservation.h:1.11 src/sys/external/bsd/drm2/include/linux/reservation.h:1.12 --- src/sys/external/bsd/drm2/include/linux/reservation.h:1.11 Sun Dec 19 01:20:30 2021 +++ src/sys/external/bsd/drm2/include/linux/reservation.h Sun Dec 19 01:20:53 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: reservation.h,v 1.11 2021/12/19 01:20:30 riastradh Exp $ */ +/* $NetBSD: reservation.h,v 1.12 2021/12/19 01:20:53 riastradh Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -122,4 +122,10 @@ int reservation_object_poll(struct reser int reservation_object_kqfilter(struct reservation_object *, struct knote *, struct reservation_poll *); +static inline bool +reservation_object_has_excl_fence(struct reservation_object *robj) +{ + return robj->robj_fence != NULL; +} + #endif /* _LINUX_RESERVATION_H_ */