commit | fe1952fc0afb9a2e4c79f103c08aef5d13db1873 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Mar 01 12:45:27 2012 +1100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Mar 09 10:55:02 2012 +1100 |
tree | ea1fc050910844e3c72d8fa576e7bf429c09d788 | |
parent | 7450f6f03e9d6dc95d2014c4cceac8adf98560e8 [diff] |
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 <benh@kernel.crashing.org>