patch-2.4.26 linux-2.4.26/include/asm-x86_64/pgtable.h
Next file: linux-2.4.26/include/asm-x86_64/processor.h
Previous file: linux-2.4.26/include/asm-x86_64/pci.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2004-04-14 06:05:40.000000000 -0700
-  Orig file: 
linux-2.4.25/include/asm-x86_64/pgtable.h
-  Orig date: 
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.25/include/asm-x86_64/pgtable.h linux-2.4.26/include/asm-x86_64/pgtable.h
@@ -79,7 +79,7 @@
  * ZERO_PAGE is a global shared page that is always zero: used
  * for zero-mapped memory areas etc..
  */
-extern unsigned long empty_zero_page[1024];
+extern unsigned long empty_zero_page[PAGE_SIZE/sizeof(unsigned long)];
 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
 
 #endif /* !__ASSEMBLY__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)