]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Add refcount.h
authorEmmanuel Vadot <manu@FreeBSD.org>
Mon, 25 May 2020 12:44:07 +0000 (12:44 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Mon, 25 May 2020 12:44:07 +0000 (12:44 +0000)
commit4efd5dd70dd2ff7d6bef4d805bbc89e833bf995c
tree3d91b37769089845a4f7bcaa3f6000c90eff8f7b
parent93d70cd3feca4c75a518346e1e20d5df52b53ebf
linuxkpi: Add refcount.h

Implement some refcount functions needed by drm.
Just use the atomic_t struct and functions from linuxkpi for simplicity.

Sponsored-by: The FreeBSD Foundation
Reviewed by: hselsasky
Differential Revision: https://reviews.freebsd.org/D24985
sys/compat/linuxkpi/common/include/linux/refcount.h [new file with mode: 0644]