Title: [6473] branches/2009R1/arch/blackfin/include/asm/pgtable.h: Convert to struct page from address for ZERO_PAGE macro.
Revision
6473
Author
sonicz
Date
2009-05-25 22:43:22 -0500 (Mon, 25 May 2009)

Log Message

Convert to struct page from address for ZERO_PAGE macro.

Signed-off-by: Enrik Berkhan <[email protected]>

Modified Paths

Diff

Modified: branches/2009R1/arch/blackfin/include/asm/pgtable.h (6472 => 6473)


--- branches/2009R1/arch/blackfin/include/asm/pgtable.h	2009-05-26 03:41:44 UTC (rev 6472)
+++ branches/2009R1/arch/blackfin/include/asm/pgtable.h	2009-05-26 03:43:22 UTC (rev 6473)
@@ -74,7 +74,7 @@
  * ZERO_PAGE is a global shared page that is always zero: used
  * for zero-mapped memory areas etc..
  */
-#define ZERO_PAGE(vaddr)	((void *)empty_zero_page)
+#define ZERO_PAGE(vaddr)	virt_to_page(empty_zero_page)
 extern char empty_zero_page[];
 
 extern unsigned int kobjsize(const void *objp);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to