drm: Make the hlist API compatible with Linux 3.17

Operating Systems / DragonFlyBSD - François Tigeot [wolfpond.org] - 25 August 2015 06:51 UTC

- Replace hlist_add_after_rcu by hlist_add_behind_rcu

- hlist_for_each_entry() now only uses 3 arguments

d2a9170 drm: Make the hlist API compatible with Linux 3.17
sys/dev/drm/drm_hashtab.c | 21 ++++++++---------
sys/dev/drm/include/drm/drmP.h | 1 +
sys/dev/drm/include/linux/fs.h | 32 +++++++++++++++++++++++++
sys/dev/drm/include/linux/hashtable.h | 5 ++++
sys/dev/drm/include/linux/list.h | 17 +++++++-------
sys/dev/drm/include/linux/rculist.h | 41 +++++++++++++++++++++++++++++++++
6 files changed, 96 insertions(+), 21 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share