summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-11-23 12:01:05 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2012-11-23 19:11:38 +0100
commit88a24cffad7d98f16de52fe5dd2d71f64cb21585 (patch)
treecd76fa02ba69042aafb2d36a94d2d86425966071 /arch/arm64
parentarm64: signal: return struct rt_sigframe from get_sigframe (diff)
downloadlinux-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.c6
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;