diff options
author | Pekka Paalanen <pq@iki.fi> | 2009-03-02 22:26:46 +0200 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2009-03-02 22:31:24 +0200 |
commit | 056ce26344197042cbef800436f16d3f8ba288c8 (patch) | |
tree | fd1235f5d9e1ec79d90535a9e19071fc576a00c5 /linux-core/drm_ttm.c | |
parent | b47de8d5a3dbfc669c7ba9c6cb66a7491c30b537 (diff) |
drm: drop Linux < 2.6.15 support
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'linux-core/drm_ttm.c')
-rw-r--r-- | linux-core/drm_ttm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c index 054a7ce8..cb3e7505 100644 --- a/linux-core/drm_ttm.c +++ b/linux-core/drm_ttm.c @@ -132,9 +132,6 @@ static struct page *drm_ttm_alloc_page(void) drm_free_memctl(PAGE_SIZE); return NULL; } -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)) - SetPageReserved(page); -#endif return page; } @@ -215,9 +212,6 @@ static void drm_ttm_free_alloced_pages(struct drm_ttm *ttm) for (i = 0; i < ttm->num_pages; ++i) { cur_page = ttm->pages + i; if (*cur_page) { -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)) - ClearPageReserved(*cur_page); -#endif if (page_count(*cur_page) != 1) DRM_ERROR("Erroneous page count. Leaking pages.\n"); if (page_mapped(*cur_page)) |