projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182a0e5
)
actually 2.6.10 introduced pfn range so it should work now..
author
Dave Airlie
<airlied@linux.ie>
Sat, 23 Oct 2004 07:02:29 +0000
(07:02 +0000)
committer
Dave Airlie
<airlied@linux.ie>
Sat, 23 Oct 2004 07:02:29 +0000
(07:02 +0000)
linux-core/drm_compat.h
patch
|
blob
|
history
diff --git
a/linux-core/drm_compat.h
b/linux-core/drm_compat.h
index
4733ba3
..
d0b2ba9
100644
(file)
--- a/
linux-core/drm_compat.h
+++ b/
linux-core/drm_compat.h
@@
-181,7
+181,7
@@
static inline void radeon_delete_i2c_busses(struct drm_device *dev)
#define VM_OFFSET(vma) ((vma)->vm_pgoff << PAGE_SHIFT)
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,
9
)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,
10
)
static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t pgprot)
{
return remap_page_range(DRM_RPR_ARG(vma) from,