aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/ati_pcigart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/ati_pcigart.c')
-rw-r--r--drivers/char/drm/ati_pcigart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/ati_pcigart.c b/drivers/char/drm/ati_pcigart.c
index 3345641ff904..d352dbb4ccf7 100644
--- a/drivers/char/drm/ati_pcigart.c
+++ b/drivers/char/drm/ati_pcigart.c
@@ -41,7 +41,7 @@ static void *drm_ati_alloc_pcigart_table(int order)
41 struct page *page; 41 struct page *page;
42 int i; 42 int i;
43 43
44 DRM_DEBUG("%s: alloc %d order\n", __FUNCTION__, order); 44 DRM_DEBUG("%d order\n", order);
45 45
46 address = __get_free_pages(GFP_KERNEL | __GFP_COMP, 46 address = __get_free_pages(GFP_KERNEL | __GFP_COMP,
47 order); 47 order);
@@ -54,7 +54,7 @@ static void *drm_ati_alloc_pcigart_table(int order)
54 for (i = 0; i < order; i++, page++) 54 for (i = 0; i < order; i++, page++)
55 SetPageReserved(page); 55 SetPageReserved(page);
56 56
57 DRM_DEBUG("%s: returning 0x%08lx\n", __FUNCTION__, address); 57 DRM_DEBUG("returning 0x%08lx\n", address);
58 return (void *)address; 58 return (void *)address;
59} 59}
60 60
@@ -63,7 +63,7 @@ static void drm_ati_free_pcigart_table(void *address, int order)
63 struct page *page; 63 struct page *page;
64 int i; 64 int i;
65 int num_pages = 1 << order; 65 int num_pages = 1 << order;
66 DRM_DEBUG("%s\n", __FUNCTION__); 66 DRM_DEBUG("\n");
67 67
68 page = virt_to_page((unsigned long)address); 68 page = virt_to_page((unsigned long)address);
69 69