diff options
author | 2008-04-14 10:43:38 -0500 | |
---|---|---|
committer | 2008-04-17 09:50:38 -0500 | |
commit | 3a2f020c5a93a88aa09adbe56dde43463324930a (patch) | |
tree | e178a2fa9406fed6f6783e3f095732fea28b91c9 /arch/powerpc/sysdev/xilinx_intc.c | |
parent | [POWERPC] fsl: Convert dts to v1 syntax (diff) | |
download | wireguard-linux-3a2f020c5a93a88aa09adbe56dde43463324930a.tar.xz wireguard-linux-3a2f020c5a93a88aa09adbe56dde43463324930a.zip |
[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>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
0 files changed, 0 insertions, 0 deletions