From: Paolo 'Blaisorblade' Giarrusso Date: Wed, 11 Oct 2006 08:21:34 +0000 (-0700) Subject: [PATCH] uml: make UML_SETJMP always safe X-Git-Tag: v2.6.19-rc2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5cdb5797d364a112879e49cc708083853ffc592;p=pandora-kernel.git [PATCH] uml: make UML_SETJMP always safe If enable is moved by GCC in a register its value may not be preserved after coming back there with longjmp(). So, mark it as volatile to prevent this; this is suggested (it seems) in info gcc, when it talks about -Wuninitialized. I re-read this and it seems to say something different, but I still believe this may be needed. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed