From: Benjamin Herrenschmidt Date: Thu, 1 Mar 2012 01:45:27 +0000 (+1100) Subject: powerpc: Rework runlatch code X-Git-Tag: v3.4-rc1~159^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1952fc0afb9a2e4c79f103c08aef5d13db1873;p=pandora-kernel.git powerpc: Rework runlatch code This moves the inlines into system.h and changes the runlatch code to use the thread local flags (non-atomic) rather than the TIF flags (atomic) to keep track of the latch state. The code to turn it back on in an asynchronous interrupt is now simplified and partially inlined. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed