From: Al Viro Date: Sun, 30 Sep 2012 17:12:36 +0000 (-0400) Subject: new helper: current_pt_regs() X-Git-Tag: v3.7-rc1~64^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3460a59747cfddfa7be4758e5ef08bf5d751d59;p=pandora-kernel.git new helper: current_pt_regs() Normally (and that's the default) it's just task_pt_regs(current). However, if an architecture can optimize that, it can do so by making a macro of its own available from asm/ptrace.h. More importantly, some architectures have task_pt_regs() working only for traced tasks blocked on signal delivery. current_pt_regs() needs to work for *all* processes, so before those architectures start using stuff relying on current_pt_regs() they'll need a properly working variant. Signed-off-by: Al Viro --- Reading git-diff-tree failed