android_kernel_google_msm/drivers/char
Herbert Xu b09ea83ef0 BACKPORT: random: Wake up all getrandom(2) callers when pool is ready
Clean cherry pick of 1d9de44e268d880cbe2d0bd3be1ef0661f93fd34.

If more than one application invokes getrandom(2) before the pool
is ready, then all bar one will be stuck forever because we use
wake_up_interruptible which wakes up a single task.

This patch replaces it with wake_up_all.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Bug: http://b/29621447
Change-Id: I5dfd7abac10898802f030e0a2af7110809283328
(cherry picked from commit 1d9de44e268d880cbe2d0bd3be1ef0661f93fd34)
2017-10-27 21:48:02 +03:00
..
agp drm/i915: disable ppgtt on snb when dmar is enabled 2012-04-02 15:59:07 +02:00
diag char: Fix NULL pointer dereferences 2016-10-29 23:12:34 +08:00
hw_random Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
ipmi Merge branch 'akpm' (Andrew's patch-bomb) 2012-03-28 17:19:28 -07:00
mwave
pcmcia
tpm Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
xilinx_hwicap
adsprpc.c char: Fix NULL pointer dereferences 2016-10-29 23:12:34 +08:00
adsprpc_shared.h msm: ADSPRPC: Cleanup header and source. 2013-03-15 17:07:42 -07:00
apm-emulation.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm 2012-04-05 17:34:30 -07:00
applicom.c
applicom.h
bfin-otp.c
bsr.c
csdio.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
dcc_tty.c char: dcc_tty: Update for spinlock changes 2013-01-10 11:12:09 -08:00
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
generic_nvram.c
genrtc.c
hangcheck-timer.c
hpet.c printk(): add KERN_CONT where needed in hpet and vt code 2012-04-09 10:30:39 -07:00
i8k.c
Kconfig msm: Move adsprpc into drivers 2013-03-15 17:07:02 -07:00
lp.c Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-03-29 18:12:23 -07:00
Makefile msm: Move adsprpc into drivers 2013-03-15 17:07:02 -07:00
mbcs.c
mbcs.h
mem.c mm: Tighten x86 /dev/mem with zeroing reads 2017-07-04 12:34:19 +03:00
misc.c Avoid to create duplicate filename for misc devices. 2013-06-12 21:45:38 +00:00
mmtimer.c
msm_rotator.c msm: rotator: Add proper checks for enabling Fast YUV 2015-01-27 19:51:26 -05:00
msm_smd_pkt.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
ramoops.c
random.c BACKPORT: random: Wake up all getrandom(2) callers when pool is ready 2017-10-27 21:48:02 +03:00
raw.c
rtc.c
scx200_gpio.c
snsc.c
snsc.h
snsc_event.c
sonypi.c
tb0219.c
tile-srom.c tile-srom.c driver: minor code cleanup 2012-04-02 12:14:10 -04:00
tlclk.c
toshiba.c
ttyprintk.c
uv_mmtimer.c
virtio_console.c virtio: console: tell host of open ports after resume from s3/s4 2012-05-17 12:14:33 +03:00