drm: Use the NetBSD implementation of list_sort()

Operating Systems / DragonFlyBSD - François Tigeot [wolfpond.org] - 22 August 2015 10:17 UTC

- The NetBSD import is more similar to the Linux version and doesn't do dynamic memory allocation

- Remove the old incomplete FreeBSD implementation

- It wasn't even using M_DRM with its kmalloc() calls, potentially leaking memory

dcc49d6 drm: Use the NetBSD implementation of list_sort()
sys/dev/drm/drm/Makefile | 4 ++--
sys/dev/drm/drm_modes.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share