]> nv-tegra.nvidia Code Review - linux-3.10.git/blob - include/asm-ia64/namei.h
[PATCH] Kprobes/IA64: kdebug die notification mechanism
[linux-3.10.git] / include / asm-ia64 / namei.h
1 #ifndef _ASM_IA64_NAMEI_H
2 #define _ASM_IA64_NAMEI_H
3
4 /*
5  * Modified 1998, 1999, 2001
6  *      David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
7  */
8
9 #include <asm/ptrace.h>
10 #include <asm/system.h>
11
12 #define EMUL_PREFIX_LINUX_IA32 "/emul/ia32-linux/"
13
14 static inline char *
15 __emul_prefix (void)
16 {
17         switch (current->personality) {
18               case PER_LINUX32:
19                 return EMUL_PREFIX_LINUX_IA32;
20               default:
21                 return NULL;
22         }
23 }
24
25 #endif /* _ASM_IA64_NAMEI_H */