VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christoph Lameter <clameter@sgi.com> 2006-09-25 23:31:10 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-09-26 08:48:46 -0700 commit: f06a96844a577c43249fce25809a4fae07407f46 parent: 776ed98b842ee8551793f842fe028c8091f3633e
Commit Summary:
[PATCH] reduce MAX_NR_ZONES: fix MAX_NR_ZONES array initializations
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index d3d40bdc2d6a..e4f4199f97ab 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -138,7 +138,7 @@ void paging_init(void)
 #endif
 
 	{
-		unsigned long zones_size[MAX_NR_ZONES] = {0, 0, 0};
+		unsigned long zones_size[MAX_NR_ZONES] = {0, };
 
 		zones_size[ZONE_DMA]     = 0 >> PAGE_SHIFT;
 		zones_size[ZONE_NORMAL]  = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT;