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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [namei.h] - Rev 1765

Compare with Previous | Blame | View Log

/*
 * linux/include/asm-mips/namei.h
 *
 * Included from linux/fs/namei.c
 */
#ifndef __ASM_NAMEI_H
#define __ASM_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_NAMEI_H */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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