powerpc: Fix typo in runlatch code
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Apr 2012 00:42:15 +0000 (10:42 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Apr 2012 00:42:15 +0000 (10:42 +1000)
commitfae2e0fb24c61ca68c98d854a34732549ebc1854
treecc45de0142a2314fadfaeb0360676f14c09b38f5
parent08f1ec8a594c60bf3856e3c45b6d15fd691d90bb
powerpc: Fix typo in runlatch code

Commit fe1952fc0afb9a2e4c79f103c08aef5d13db1873
"powerpc: Rework runlatch code" has a nasty typo
where it uses "TLF_RUNLATCH" instead of "_TLF_RUNLATCH"
(bit number instead of bit mask), causing some flags to
be potentially lost such as _TLF_RESTORE_SIGMASK

(Brown paper bag for me ! We should be able to make
that break at compile time with a bit of magic, any
volunteer ?)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c