diff options
author | Will Deacon <will.deacon@arm.com> | 2012-11-23 06:01:05 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-11-23 13:11:38 -0500 |
commit | 88a24cffad7d98f16de52fe5dd2d71f64cb21585 (patch) | |
tree | cd76fa02ba69042aafb2d36a94d2d86425966071 /arch/arm64 | |
parent | b64e1c6139c5007b7773b0ce416ef9ea035e8724 (diff) |
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kernel/signal32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/kernel/signal32.c b/arch/arm64/kernel/signal32.c index 8f96fc9656db..a4db3d22aac4 100644 --- a/arch/arm64/kernel/signal32.c +++ b/arch/arm64/kernel/signal32.c | |||
@@ -578,9 +578,9 @@ badframe: | |||
578 | return 0; | 578 | return 0; |
579 | } | 579 | } |
580 | 580 | ||
581 | static inline void __user *compat_get_sigframe(struct k_sigaction *ka, | 581 | static void __user *compat_get_sigframe(struct k_sigaction *ka, |
582 | struct pt_regs *regs, | 582 | struct pt_regs *regs, |
583 | int framesize) | 583 | int framesize) |
584 | { | 584 | { |
585 | compat_ulong_t sp = regs->compat_sp; | 585 | compat_ulong_t sp = regs->compat_sp; |
586 | void __user *frame; | 586 | void __user *frame; |