]> Pileus Git - ~andy/linux/commitdiff
arm64: signal: let the compiler inline compat_get_sigframe
authorWill Deacon <will.deacon@arm.com>
Fri, 23 Nov 2012 11:01:05 +0000 (11:01 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 23 Nov 2012 18:11:38 +0000 (18:11 +0000)
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>
arch/arm64/kernel/signal32.c

index 8f96fc9656db4e9f974973042ca9f51e74fd5956..a4db3d22aac4802972fd4685e7c96e0c9d706b2c 100644 (file)
@@ -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;