1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/bootrom/bootram/include/asm/namei.h
2024-07-22 01:58:46 -03:00

32 lines
644 B
C
Executable File

/*
* linux/include/asm-mips/namei.h
*
* Included from linux/fs/namei.c
*
* $Id: //BBN_Linux/Branch/Branch_for_Rel_TP_ASEAN_20161216/tclinux_phoenix/bootrom/bootram/include/asm/namei.h#1 $
*/
#ifndef __ASM_MIPS_NAMEI_H
#define __ASM_MIPS_NAMEI_H
#include <linux/config.h>
/* Only one at this time. */
#define IRIX32_EMUL "usr/gnemul/irix/"
#ifdef CONFIG_BINFMT_IRIX
static inline char *__emul_prefix(void)
{
if (current->personality != PER_IRIX32)
return NULL;
return IRIX32_EMUL;
}
#else /* !defined(CONFIG_BINFMT_IRIX) */
#define __emul_prefix() NULL
#endif /* !defined(CONFIG_BINFMT_IRIX) */
#endif /* __ASM_MIPS_NAMEI_H */