ptrace: Use task_is_*
[linux-2.6/mini2440.git] / include / asm-ia64 / namei.h
blob78e7680790839f41fffd5e74dd16e9618253793d
1 #ifndef _ASM_IA64_NAMEI_H
2 #define _ASM_IA64_NAMEI_H
4 /*
5 * Modified 1998, 1999, 2001
6 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
7 */
9 #include <asm/ptrace.h>
10 #include <asm/system.h>
12 #define EMUL_PREFIX_LINUX_IA32 "/emul/ia32-linux/"
14 static inline char *
15 __emul_prefix (void)
17 switch (current->personality) {
18 case PER_LINUX32:
19 return EMUL_PREFIX_LINUX_IA32;
20 default:
21 return NULL;
25 #endif /* _ASM_IA64_NAMEI_H */