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: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
Will Deacon 2012-11-23 11:01:05 +00:00 committed by Catalin Marinas
parent b64e1c6139
commit 88a24cffad

View file

@ -578,9 +578,9 @@ badframe:
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;