Re: Stubs for drm_mtrr_add and drm_mtrr_del when !__OS_HAS_MTRR

2006-02-19 Thread Dave Airlie
The kernel DRM has fixes for this I just haven't ported them back to CVS yet... Dave. On Sat, 18 Feb 2006, Felix Kühling wrote: Hi, does anyone object to applying this patch to linux-core/drmP.h: --- drmP.h2 Jan 2006 05:54:10 - 1.172 +++ drmP.h18 Feb 2006 18:46:54

Stubs for drm_mtrr_add and drm_mtrr_del when !__OS_HAS_MTRR

2006-02-18 Thread Felix Kühling
Hi, does anyone object to applying this patch to linux-core/drmP.h: --- drmP.h 2 Jan 2006 05:54:10 - 1.172 +++ drmP.h 18 Feb 2006 18:46:54 - @@ -780,6 +780,20 @@ #else #define drm_core_has_MTRR(dev) (0) + +static inline int drm_mtrr_add(unsigned long offset, unsigned