[PATCH] drm: use kvfree instead of opencoding

2015-01-29 Thread Dave Airlie
From: Dave Airlie Al Viro added this to the mm finally, so instead of opencoding it use kvfree instead. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nouveau_gem.c | 5 + include/drm/drm_mem_util.h| 5 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH] drm: use kvfree instead of opencoding

2015-01-29 Thread Michel Dänzer
On 29.01.2015 11:36, Dave Airlie wrote: > From: Dave Airlie > > Al Viro added this to the mm finally, so instead > of opencoding it use kvfree instead. > > Signed-off-by: Dave Airlie > --- > drivers/gpu/drm/nouveau/nouveau_gem.c | 5 + > include/drm/drm_mem_util.h| 5 + > 2