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:
Родитель
b64e1c6139
Коммит
88a24cffad
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче