[PATCH 07/20] drm: replace weird conditional includes

2014-08-29 Thread Thierry Reding
On Fri, Aug 29, 2014 at 12:12:33PM +0200, David Herrmann wrote: > pte_wrprotect() is only used by drm_vm.c, so move the include there. Also > include it unconditionally, all architectures provide this header! > > Furthermore, replace asm/current.h with sched.h, which includes > asm/current.h uncon

[PATCH 07/20] drm: replace weird conditional includes

2014-08-29 Thread David Herrmann
pte_wrprotect() is only used by drm_vm.c, so move the include there. Also include it unconditionally, all architectures provide this header! Furthermore, replace asm/current.h with sched.h, which includes asm/current.h unconditionally. This way we get the same effect and avoid direct asm/ includes