From: H. Peter Anvin Date: Tue, 25 Aug 2009 23:47:16 +0000 (-0700) Subject: x86: allow "=rm" in native_save_fl() X-Git-Tag: v2.6.32-rc1~714^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab94fcf528d127fcb490175512a8910f37e5b346;p=pandora-kernel.git x86: allow "=rm" in native_save_fl() This is a partial revert of f1f029c7bfbf4ee1918b90a431ab823bed812504. "=rm" is allowed in this context, because "pop" is explicitly defined to adjust the stack pointer *before* it evaluates its effective address, if it has one. Thus, we do end up writing to the correct address even if we use an on-stack memory argument. The original reporter for f1f029c7bfbf4ee1918b90a431ab823bed812504 was apparently using a broken x86 simulator. [ Impact: performance ] Signed-off-by: H. Peter Anvin Cc: Gabe Black --- Reading git-diff-tree failed