Hi,

does anyone object to applying this patch to linux-core/drmP.h:

--- drmP.h      2 Jan 2006 05:54:10 -0000       1.172
+++ drmP.h      18 Feb 2006 18:46:54 -0000
@@ -780,6 +780,20 @@
 
 #else
 #define drm_core_has_MTRR(dev) (0)
+
+static inline int drm_mtrr_add(unsigned long offset, unsigned long size,
+                              unsigned int flags)
+{
+       return -ENODEV;
+}
+
+static inline int drm_mtrr_del(int handle, unsigned long offset,
+                              unsigned long size, unsigned int flags)
+{
+       return -ENODEV;
+}
+
+#define DRM_MTRR_WC     1
 #endif
 
 /******************************************************************/

This fixes the build of savage_bci.c when __OS_HAS_MTRR is false. See
also: https://bugs.freedesktop.org/show_bug.cgi?id=5942

Regards,
  Felix

-- 
| Felix Kühling <[EMAIL PROTECTED]>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to