android_kernel_samsung_a7y1.../arch
Ard Biesheuvel 10fb889932 powerpc/archrandom: fix arch_get_random_seed_int()
commit b6afd1234cf93aa0d71b4be4788c47534905f0be upstream.

Commit 01c9348c7620ec65

  powerpc: Use hardware RNG for arch_get_random_seed_* not arch_get_random_*

updated arch_get_random_[int|long]() to be NOPs, and moved the hardware
RNG backing to arch_get_random_seed_[int|long]() instead. However, it
failed to take into account that arch_get_random_int() was implemented
in terms of arch_get_random_long(), and so we ended up with a version
of the former that is essentially a NOP as well.

Fix this by calling arch_get_random_seed_long() from
arch_get_random_seed_int() instead.

Fixes: 01c9348c7620ec65 ("powerpc: Use hardware RNG for arch_get_random_seed_* not arch_get_random_*")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191204115015.18015-1-ardb@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:39:07 +02:00
..
alpha
arc ARC: perf: Accommodate big-endian CPU 2020-04-07 12:37:04 +02:00
arm ARM: dts: am437x-gp/epos-evm: fix panel compatible 2020-04-07 13:28:43 +02:00
arm64 arm64: dts: agilex/stratix10: fix pmu interrupt numbers 2020-04-07 13:38:23 +02:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon hexagon: work around compiler crash 2020-04-07 13:37:21 +02:00
ia64
m32r
m68k
metag
microblaze microblaze: move "... is ready" messages to arch/microblaze/Makefile 2020-04-07 12:41:36 +02:00
mips MIPS: Avoid VDSO ABI breakage due to global register variable 2020-04-07 13:24:38 +02:00
mn10300
nios2
openrisc openrisc: Fix broken paths to arch/or32 2020-04-07 12:42:07 +02:00
parisc parisc: Fix compiler warnings in debug_core.c 2020-04-07 13:29:00 +02:00
powerpc powerpc/archrandom: fix arch_get_random_seed_int() 2020-04-07 13:39:07 +02:00
s390 s390/smp: fix physical to logical CPU map for SMT 2020-04-07 13:25:06 +02:00
score
sh pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B 2020-04-07 13:20:55 +02:00
sparc sparc64: Rework xchg() definition to avoid warnings. 2020-04-07 12:35:33 +02:00
tile locking/x86: Remove the unused atomic_inc_short() methd 2020-04-07 13:25:08 +02:00
um um: Make GCOV depend on !KCOV 2020-04-07 12:42:32 +02:00
unicore32
x86 x86/efistub: Disable paging at mixed mode entry 2020-04-07 13:37:47 +02:00
xtensa xtensa: fix TLB sanity checker 2020-04-07 13:12:45 +02:00
Kconfig