diff options
Diffstat (limited to 'drivers/char/drm/drm_memory.h')
-rw-r--r-- | drivers/char/drm/drm_memory.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/char/drm/drm_memory.h b/drivers/char/drm/drm_memory.h index 645a08878e55..714d9aedcff5 100644 --- a/drivers/char/drm/drm_memory.h +++ b/drivers/char/drm/drm_memory.h | |||
@@ -57,15 +57,6 @@ | |||
57 | # endif | 57 | # endif |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | /* | ||
61 | * Find the drm_map that covers the range [offset, offset+size). | ||
62 | */ | ||
63 | drm_map_t *drm_lookup_map(unsigned long offset, | ||
64 | unsigned long size, drm_device_t * dev); | ||
65 | |||
66 | void *agp_remap(unsigned long offset, unsigned long size, | ||
67 | drm_device_t * dev); | ||
68 | |||
69 | static inline unsigned long drm_follow_page(void *vaddr) | 60 | static inline unsigned long drm_follow_page(void *vaddr) |
70 | { | 61 | { |
71 | pgd_t *pgd = pgd_offset_k((unsigned long)vaddr); | 62 | pgd_t *pgd = pgd_offset_k((unsigned long)vaddr); |
@@ -77,18 +68,6 @@ static inline unsigned long drm_follow_page(void *vaddr) | |||
77 | 68 | ||
78 | #else /* __OS_HAS_AGP */ | 69 | #else /* __OS_HAS_AGP */ |
79 | 70 | ||
80 | static inline drm_map_t *drm_lookup_map(unsigned long offset, | ||
81 | unsigned long size, drm_device_t * dev) | ||
82 | { | ||
83 | return NULL; | ||
84 | } | ||
85 | |||
86 | static inline void *agp_remap(unsigned long offset, unsigned long size, | ||
87 | drm_device_t * dev) | ||
88 | { | ||
89 | return NULL; | ||
90 | } | ||
91 | |||
92 | static inline unsigned long drm_follow_page(void *vaddr) | 71 | static inline unsigned long drm_follow_page(void *vaddr) |
93 | { | 72 | { |
94 | return 0; | 73 | return 0; |
@@ -99,8 +78,5 @@ static inline unsigned long drm_follow_page(void *vaddr) | |||
99 | void *drm_ioremap(unsigned long offset, unsigned long size, | 78 | void *drm_ioremap(unsigned long offset, unsigned long size, |
100 | drm_device_t * dev); | 79 | drm_device_t * dev); |
101 | 80 | ||
102 | void *drm_ioremap_nocache(unsigned long offset, | ||
103 | unsigned long size, drm_device_t * dev); | ||
104 | |||
105 | void drm_ioremapfree(void *pt, unsigned long size, | 81 | void drm_ioremapfree(void *pt, unsigned long size, |
106 | drm_device_t * dev); | 82 | drm_device_t * dev); |