linux-stable/arch/powerpc
Jason A. Donenfeld d2e082dc52 powerpc: define get_cycles macro for arch-override
commit 4088358321 upstream.

PowerPC defines a get_cycles() function, but it does not do the usual
`#define get_cycles get_cycles` dance, making it impossible for generic
code to see if an arch-specific function was defined. While the
get_cycles() ifdef is not currently used, the following timekeeping
patch in this series will depend on the macro existing (or not existing)
when defining random_get_entropy().

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmidt <benh@ozlabs.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-30 09:27:13 +02:00
..
boot powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 2022-04-13 19:27:10 +02:00
configs RTC for 5.17 2022-01-21 13:13:35 +02:00
crypto powerpc updates for 5.17 2022-01-14 15:17:26 +01:00
include powerpc: define get_cycles macro for arch-override 2022-05-30 09:27:13 +02:00
kernel powerpc/64: Add UADDR64 relocation support 2022-05-09 09:16:33 +02:00
kexec powerpc: Set crashkernel offset to mid of RMA region 2022-04-13 19:27:12 +02:00
kvm KVM: PPC: Book3S PR: Enable MSR_DR for switch_mmu_context() 2022-05-18 10:28:18 +02:00
lib powerpc/code-patching: Pre-map patch area 2022-04-13 19:27:20 +02:00
math-emu
mm Revert "powerpc: Set max_mapnr correctly" 2022-04-13 19:27:41 +02:00
net powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06 2022-01-15 12:21:25 +11:00
perf powerpc/perf: Fix 32bit compile 2022-05-09 09:16:28 +02:00
platforms powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E 2022-04-13 19:27:20 +02:00
purgatory
sysdev powerpc/xive: Export XIVE IPI information for online-only processors. 2022-04-13 19:27:10 +02:00
tools powerpc/64: Add UADDR64 relocation support 2022-05-09 09:16:33 +02:00
xmon
Kbuild
Kconfig Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
Kconfig.debug
Makefile powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit 2022-04-08 13:58:14 +02:00
Makefile.postlink