From: Al Viro Date: Sun, 18 Nov 2012 17:50:10 +0000 (-0500) Subject: new helper: current_user_stack_pointer() X-Git-Tag: v3.8-rc1~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ca97bb541a1f5a735e697a8bba763cde3aab452;p=pandora-kernel.git new helper: current_user_stack_pointer() Cross-architecture equivalent of rdusp(); default is user_stack_pointer(current_pt_regs()) - that works for almost all platforms that have usp saved in pt_regs. The only exception from that is ia64 - we want memory stack, not the backing store for register one. Signed-off-by: Al Viro --- Reading git-diff-tree failed