From: Tejun Heo Date: Tue, 6 Jan 2015 15:26:10 +0000 (-0500) Subject: percpu_ref: implement percpu_ref_is_dying() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~152^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c907baf36d8339f393bb576d0bab29194d0e6ad;p=pandora-kernel.git percpu_ref: implement percpu_ref_is_dying() Implement percpu_ref_is_dying() which tests whether the ref is dying or dead. This is useful to determine the current state when a percpu_ref is used as a cyclic on/off switch via kill and reinit. Signed-off-by: Tejun Heo Cc: Kent Overstreet --- Reading git-diff-tree failed