From: Paolo 'Blaisorblade' Giarrusso Date: Wed, 1 Feb 2006 11:06:25 +0000 (-0800) Subject: [PATCH] uml: fix hugest stack users X-Git-Tag: v2.6.16-rc2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=854e981cc69bb93b49bdd052c8bc1dc744509f04;p=pandora-kernel.git [PATCH] uml: fix hugest stack users The C99 initialization, with GCC's bad handling, for 6K wide structs (which _aren't_ on the stack), is causing GCC to use 12K for these silly procs with 3 vars. Workaround this. Note that .name = { '\0' } translates to memset(->name, 0, '->name' size) - I verified this with GCC's docs and a testprogram. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed