OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [namei.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 * linux/include/asm-mips/namei.h
3
 *
4
 * Included from linux/fs/namei.c
5
 */
6
#ifndef __ASM_NAMEI_H
7
#define __ASM_NAMEI_H
8
 
9
#include <linux/config.h>
10
 
11
/* Only one at this time. */
12
#define IRIX32_EMUL "usr/gnemul/irix/"
13
 
14
#ifdef CONFIG_BINFMT_IRIX
15
 
16
static inline char *__emul_prefix(void)
17
{
18
        if (current->personality != PER_IRIX32)
19
                return NULL;
20
        return IRIX32_EMUL;
21
}
22
 
23
#else /* !defined(CONFIG_BINFMT_IRIX) */
24
 
25
#define __emul_prefix() NULL
26
 
27
#endif /* !defined(CONFIG_BINFMT_IRIX) */
28
 
29
#endif /* __ASM_NAMEI_H */

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.