From: Roland Dreier Date: Thu, 6 Oct 2011 16:56:16 +0000 (-0700) Subject: target: Have core_tmr_alloc_req() take an explicit GFP_xxx flag X-Git-Tag: v3.2-rc1~24^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd503a5fcc0dfb8b5fd887bd967b6f431176864b;p=pandora-kernel.git target: Have core_tmr_alloc_req() take an explicit GFP_xxx flag Testing in_interrupt() to know when sleeping is allowed is not really reliable (since eg it won't be true if the caller is holding a spinlock). Instead have the caller tell core_tmr_alloc_req() what GFP_xxx to use; every caller except tcm_qla2xxx can use GFP_KERNEL. Signed-off-by: Roland Dreier Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed