aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/oprofile
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-04-14 11:43:38 -0400
committerKumar Gala <galak@kernel.crashing.org>2008-04-17 10:50:38 -0400
commit3a2f020c5a93a88aa09adbe56dde43463324930a (patch)
treee178a2fa9406fed6f6783e3f095732fea28b91c9 /arch/mn10300/oprofile
parent998c610363b26f3793ad8121eeb3a749b1034824 (diff)
[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/mn10300/oprofile')
0 files changed, 0 insertions, 0 deletions