[OpenBIOS] r380 - openbios-devel/arch/sparc32

svn at openbios.org svn at openbios.org
Sat Jan 10 21:31:21 CET 2009


Author: blueswirl
Date: 2009-01-10 21:31:21 +0100 (Sat, 10 Jan 2009)
New Revision: 380

Modified:
   openbios-devel/arch/sparc32/pgtsrmmu.h
Log:
Fix warning

Modified: openbios-devel/arch/sparc32/pgtsrmmu.h
===================================================================
--- openbios-devel/arch/sparc32/pgtsrmmu.h	2009-01-10 11:49:43 UTC (rev 379)
+++ openbios-devel/arch/sparc32/pgtsrmmu.h	2009-01-10 20:31:21 UTC (rev 380)
@@ -10,13 +10,6 @@
 #ifndef _PGTSRMMU_H
 #define _PGTSRMMU_H
 
-/* Replacement for <asm/page.h> */
-#define PAGE_SHIFT   12
-#define PAGE_SIZE    (1 << PAGE_SHIFT)
-#define PAGE_MASK    (~(PAGE_SIZE-1))
-#define PAGE_ALIGN(addr)  (((addr)+PAGE_SIZE-1)&PAGE_MASK)
-/* */
-
 /* PMD_SHIFT determines the size of the area a second-level page table can map */
 #define SRMMU_PMD_SHIFT         18
 #define SRMMU_PMD_SIZE          (1UL << SRMMU_PMD_SHIFT)




More information about the OpenBIOS mailing list