From: Jeff Dike Date: Sun, 18 Dec 2005 16:50:39 +0000 (+0100) Subject: [PATCH] uml skas0: stop gcc's insanity X-Git-Tag: v2.6.15-rc6~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7b15afee89d6940482259b54d0864b7b2302b0;p=pandora-kernel.git [PATCH] uml skas0: stop gcc's insanity With Paolo 'Blaisorblade' Giarrusso UML skas0 stub has been miscompiling for many people (incidentally not the authors), depending on the used GCC versions. I think (and testing on some GCC versions shows) this patch avoids the fundamental issue which is behind this, namely gcc using the stack when we have just replaced it, behind gcc's back. The remapping and storage of the return value is hidden in a blob of asm, hopefully giving gcc no room for creativity. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed