Index: kernel/arch/sparc64/src/mm/frame.c
===================================================================
--- kernel/arch/sparc64/src/mm/frame.c	(revision 91d6d285e4ddce9e498cf374443f1e209ebfe2cd)
+++ kernel/arch/sparc64/src/mm/frame.c	(revision 2bc137c2ead5aef4703a85727d96bf8f99c6f418)
@@ -46,6 +46,4 @@
  *
  * Walk the bootinfo memory map and create frame zones according to it.
- * The first frame is not blacklisted here as it is done in generic
- * frame_init().
  */
 void frame_arch_init(void)
@@ -63,5 +61,5 @@
 			 * It already contains no holes.
 			 */
-	
+
 			confdata = ADDR2PFN(start);
 			if (confdata == ADDR2PFN(KA2PA(PFN2ADDR(0))))
@@ -70,13 +68,14 @@
 			last_frame = max(last_frame, start + ALIGN_UP(size, FRAME_SIZE));
 		}
+
+		/*
+		 * On sparc64, physical memory can start on a non-zero address.
+		 * The generic frame_init() only marks PFN 0 as not free, so we
+		 * must mark the physically first frame not free explicitly here,
+		 * no matter what is its address.
+		 */
+		frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);
 	}
 	
-	/*
-	 * On sparc64, physical memory can start on a non-zero address.
-	 * The generic frame_init() only marks PFN 0 as not free, so we
-	 * must mark the physically first frame not free explicitly here,
-	 * no matter what is its address.
-	 */
-	frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);
 }
 
