summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-11 03:37:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-11 03:37:54 +0000
commitc2ef550dd0f53681e187709261e694c07b965a2c (patch)
tree7634c96ad2572ecc97826cffef5282cc3ebd2ec2 /drivers
parentd9caac09471f1d1454d2751d977c9423bc7d5d16 (diff)
sgi_graphics_nopage() returns struct page *, not unsigned long.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sgi/char/graphics.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/sgi/char/graphics.c b/drivers/sgi/char/graphics.c
index 24c6fbaae..7d69a591f 100644
--- a/drivers/sgi/char/graphics.c
+++ b/drivers/sgi/char/graphics.c
@@ -1,5 +1,4 @@
-/* $Id: graphics.c,v 1.22 2000/02/18 00:24:43 ralf Exp $
- *
+/*
* gfx.c: support for SGI's /dev/graphics, /dev/opengl
*
* Author: Miguel de Icaza (miguel@nuclecu.unam.mx)
@@ -214,8 +213,7 @@ sgi_graphics_close (struct inode *inode, struct file *file)
/*
* This is the core of the direct rendering engine.
*/
-
-unsigned long
+struct page *
sgi_graphics_nopage (struct vm_area_struct *vma, unsigned long address, int
no_share)
{
@@ -250,7 +248,6 @@ sgi_graphics_nopage (struct vm_area_struct *vma, unsigned long address, int
pgd = pgd_offset(current->mm, address);
pmd = pmd_offset(pgd, address);
pte = pte_offset(pmd, address);
- printk("page: %08lx\n", pte_page(*pte));
return pte_page(*pte);
}