From: Timur Tabi Date: Mon, 14 Apr 2008 15:43:38 +0000 (-0500) Subject: [POWERPC] Make rheap safe for spinlocks X-Git-Tag: v2.6.26-rc1~1125^2~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2f020c5a93a88aa09adbe56dde43463324930a;p=pandora-kernel.git [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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed