diff options
author | Will Deacon <will.deacon@arm.com> | 2012-11-23 12:01:05 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-11-23 19:11:38 +0100 |
commit | 88a24cffad7d98f16de52fe5dd2d71f64cb21585 (patch) | |
tree | cd76fa02ba69042aafb2d36a94d2d86425966071 /arch/arm64 | |
parent | arm64: signal: return struct rt_sigframe from get_sigframe (diff) | |
download | linux-88a24cffad7d98f16de52fe5dd2d71f64cb21585.tar.xz linux-88a24cffad7d98f16de52fe5dd2d71f64cb21585.zip |
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: 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; |