summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/processor.h
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-08-27 11:04:26 -0400
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-04 06:46:42 -0600
commitdf570b9c284701d08b22aa00cbfcf870b7f1b7c1 (patch)
tree4e3478a7c370dd595cd44d6ab79abfb94e93801b /include/asm-parisc/processor.h
parent8f611c453c6a41eee73645c80ccb10493e74b630 (diff)
downloadblackbird-op-linux-df570b9c284701d08b22aa00cbfcf870b7f1b7c1.tar.gz
blackbird-op-linux-df570b9c284701d08b22aa00cbfcf870b7f1b7c1.zip
[PARISC] Switch is_compat_task to use TIF_32BIT
Stop using PER_LINUX32 to designate processes needing compaterizing. Convert is_compat_task to use TIF_32BIT and set TIF_32BIT in binfmt_elf32.c Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/processor.h')
-rw-r--r--include/asm-parisc/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/processor.h b/include/asm-parisc/processor.h
index 4313618c98ee..fd7866dc8c83 100644
--- a/include/asm-parisc/processor.h
+++ b/include/asm-parisc/processor.h
@@ -278,7 +278,7 @@ on downward growing arches, it looks like this:
*/
#ifdef __LP64__
-#define USER_WIDE_MODE (personality(current->personality) == PER_LINUX)
+#define USER_WIDE_MODE (!test_thread_flag(TIF_32BIT))
#else
#define USER_WIDE_MODE 0
#endif
OpenPOWER on IntegriCloud