From: David Herrmann Date: Fri, 29 Aug 2014 10:12:33 +0000 (+0200) Subject: drm: replace weird conditional includes X-Git-Tag: fixes-against-v3.18-rc2~73^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2791ee85e1e9805d600782e554f706458ec6c84e;p=pandora-kernel.git drm: replace weird conditional includes 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 Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie --- Reading git-diff-tree failed