android_kernel_xiaomi_sm8350/arch/powerpc/lib
Timur Tabi 3a2f020c5a [POWERPC] Make rheap safe for spinlocks
The rheap allocation function, rh_alloc, could call kmalloc with GFP_KERNEL.
This can sleep, which means you couldn't hold a spinlock while called rh_alloc.
Change all kmalloc calls to use GFP_ATOMIC so that it won't sleep.  This is
safe because only small blocks are allocated.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-17 09:50:38 -05:00
..
alloc.c [POWERPC] Limit range of __init_ref_ok somewhat 2007-10-03 11:48:44 +10:00
checksum_32.S
checksum_64.S
copy_32.S
copypage_64.S
copyuser_64.S
div64.S
dma-noncoherent.c
locks.c
Makefile [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
mem_64.S
memcpy_64.S
rheap.c [POWERPC] Make rheap safe for spinlocks 2008-04-17 09:50:38 -05:00
sstep.c
string.S [POWERPC] Add hand-coded assembly strcmp 2008-04-07 10:03:03 +10:00
usercopy_64.c