提交 88a24cff 编写于 作者: W Will Deacon 提交者: Catalin Marinas

arm64: signal: let the compiler inline compat_get_sigframe

There's no reason to mark compat_get_sigframe inline explicitly, so
remove the annotation and let the compiler decide what's best.
Signed-off-by: NWill Deacon <will.deacon@arm.com>
Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
上级 b64e1c61
......@@ -578,9 +578,9 @@ asmlinkage int compat_sys_rt_sigreturn(struct pt_regs *regs)
return 0;
}
static inline void __user *compat_get_sigframe(struct k_sigaction *ka,
struct pt_regs *regs,
int framesize)
static void __user *compat_get_sigframe(struct k_sigaction *ka,
struct pt_regs *regs,
int framesize)
{
compat_ulong_t sp = regs->compat_sp;
void __user *frame;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册