summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/vdso/timebase.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-12-24 14:02:00 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-24 14:02:00 -0800
commit9b3f7f1b841e91f0f0414525fa6edaaa2df33ccb (patch)
tree21cb6cc1de55bf5e18d14a8163b9c44cd6d16414 /arch/powerpc/include/asm/vdso/timebase.h
parent3913d00ac51a9d93225eeea776026326ff8f717d (diff)
parentd5c243989fb0cb03c74d7340daca3b819f706ee7 (diff)
Merge tag 'powerpc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Michael Ellerman: - Four commits fixing various things in the new C VDSO code - One fix for a 32-bit VMAP stack bug - Two minor build fixes Thanks to Cédric Le Goater, Christophe Leroy, and Will Springer. * tag 'powerpc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/32: Fix vmap stack - Properly set r1 before activating MMU on syscall too powerpc/vdso: Fix DOTSYM for 32-bit LE VDSO powerpc/vdso: Don't pass 64-bit ABI cflags to 32-bit VDSO powerpc/vdso: Block R_PPC_REL24 relocations powerpc/smp: Add __init to init_big_cores() powerpc/time: Force inlining of get_tb() powerpc/boot: Fix build of dts/fsl
Diffstat (limited to 'arch/powerpc/include/asm/vdso/timebase.h')
-rw-r--r--arch/powerpc/include/asm/vdso/timebase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/vdso/timebase.h b/arch/powerpc/include/asm/vdso/timebase.h
index b558b07959ce..881f655caa0a 100644
--- a/arch/powerpc/include/asm/vdso/timebase.h
+++ b/arch/powerpc/include/asm/vdso/timebase.h
@@ -49,7 +49,7 @@ static inline unsigned long get_tbl(void)
return mftb();
}
-static inline u64 get_tb(void)
+static __always_inline u64 get_tb(void)
{
unsigned int tbhi, tblo, tbhi2;