summaryrefslogtreecommitdiff
path: root/include/drm/drm_os_linux.h
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2013-05-14 03:58:47 +0400
committerDave Airlie <airlied@redhat.com>2013-05-31 07:37:37 +0400
commit03dae7c567d24c49e826a033df45802ac9d1d6c8 (patch)
treed9eb736873638681e390e0648da9ea21442563da /include/drm/drm_os_linux.h
parent63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75 (diff)
downloadlinux-03dae7c567d24c49e826a033df45802ac9d1d6c8.tar.xz
drm: Remove mtrr_add and mtrr_del fallback hack for non-MTRR systems
There are no users left in drivers/gpu. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_os_linux.h')
-rw-r--r--include/drm/drm_os_linux.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/drm/drm_os_linux.h b/include/drm/drm_os_linux.h
index 675ddf4b441f..815fafc6b4ad 100644
--- a/include/drm/drm_os_linux.h
+++ b/include/drm/drm_os_linux.h
@@ -65,22 +65,6 @@ struct no_agp_kern {
#define DRM_AGP_KERN struct no_agp_kern
#endif
-#if !(__OS_HAS_MTRR)
-static __inline__ int mtrr_add(unsigned long base, unsigned long size,
- unsigned int type, char increment)
-{
- return -ENODEV;
-}
-
-static __inline__ int mtrr_del(int reg, unsigned long base, unsigned long size)
-{
- return -ENODEV;
-}
-
-#define MTRR_TYPE_WRCOMB 1
-
-#endif
-
/** Other copying of data to kernel space */
#define DRM_COPY_FROM_USER(arg1, arg2, arg3) \
copy_from_user(arg1, arg2, arg3)