From: Roland McGrath Date: Thu, 26 May 2005 22:21:13 +0000 (-0700) Subject: [PATCH] i386: fix prevent_tail_call X-Git-Tag: v2.6.12-rc6~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d68b8622ccbee8a18e495ad1650c3306f2eeb0d6;p=pandora-kernel.git [PATCH] i386: fix prevent_tail_call We fixed this bug before, but it didn't take. It may have been the case that the problem was first noticed to occur in a CONFIG_REGPARM compile. But it's not regparm functions that need not to make tail calls, it's asmlinkage functions called with a user pt_regs frame on the stack supplying their arguments. prevent_tail_call probably doesn't do anything at all in regparm functions (your argument registers are going to be clobbered, period). It was a braino to conditionalize that definition in the first place. Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed