diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-26 21:21:36 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-26 21:21:36 +0000 |
commit | 2142b7840a5e0c2b6342ef94f285ac9fcf4a87ce (patch) | |
tree | f1a7e99bc26d5428a0206c30200129a0a36086f7 /linux-core | |
parent | e60eb69bc029c04b39ef0de620002d5ba2433d04 (diff) |
Remove #if 0'd code
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_proc.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index 14813722..9f4a7fae 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -438,31 +438,6 @@ static int DRM(_vma_info)(char *buf, char **start, off_t offset, int request, pgprot & _PAGE_GLOBAL ? 'g' : 'l' ); #endif DRM_PROC_PRINT("\n"); -#if 0 - for (i = vma->vm_start; i < vma->vm_end; i += PAGE_SIZE) { - pgd = pgd_offset(vma->vm_mm, i); - pmd = pmd_offset(pgd, i); - preempt_disable(); - pte = pte_offset_map(pmd, i); - if (pte_present(*pte)) { - address = __pa(pte_page(*pte)) - + (i & (PAGE_SIZE-1)); - DRM_PROC_PRINT(" 0x%08lx -> 0x%08lx" - " %c%c%c%c%c\n", - i, - address, - pte_read(*pte) ? 'r' : '-', - pte_write(*pte) ? 'w' : '-', - pte_exec(*pte) ? 'x' : '-', - pte_dirty(*pte) ? 'd' : '-', - pte_young(*pte) ? 'a' : '-' ); - } else { - DRM_PROC_PRINT(" 0x%08lx\n", i); - } - pte_unmap(pte); - preempt_enable(); - } -#endif } if (len > request + offset) return request; |