Skip to content

Commit dae0f30

Browse files
dvlasenkKAGA-KOKO
authored andcommitted
x86/signal: Deinline get_sigframe, save 240 bytes
This function compiles to 277 bytes of machine code and has 4 callsites. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Link: http://lkml.kernel.org/r/1443443037-22077-4-git-send-email-dvlasenk@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent c368ef2 commit dae0f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ static unsigned long align_sigframe(unsigned long sp)
196196
return sp;
197197
}
198198

199-
static inline void __user *
199+
static void __user *
200200
get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size,
201201
void __user **fpstate)
202202
{

0 commit comments

Comments
 (0)