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 unconditionally. This way we get the same effect and avoid > direct asm/ includes. Furthermore, drop the weird __alpha__ protection. > It's safe to include sched.h everywhere (and the wait.h comment doesn't > apply, anyway). > > Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxx> > --- > drivers/gpu/drm/drm_vm.c | 1 + > include/drm/drmP.h | 10 +--------- > 2 files changed, 2 insertions(+), 9 deletions(-) Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
pgpIvD1kLDtvQ.pgp
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel