mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
26 lines
458 B
C
26 lines
458 B
C
|
#ifndef _ASM_IA64_NAMEI_H
|
||
|
#define _ASM_IA64_NAMEI_H
|
||
|
|
||
|
/*
|
||
|
* Modified 1998, 1999, 2001
|
||
|
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
|
||
|
*/
|
||
|
|
||
|
#include <asm/ptrace.h>
|
||
|
#include <asm/system.h>
|
||
|
|
||
|
#define EMUL_PREFIX_LINUX_IA32 "/emul/ia32-linux/"
|
||
|
|
||
|
static inline char *
|
||
|
__emul_prefix (void)
|
||
|
{
|
||
|
switch (current->personality) {
|
||
|
case PER_LINUX32:
|
||
|
return EMUL_PREFIX_LINUX_IA32;
|
||
|
default:
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* _ASM_IA64_NAMEI_H */
|