~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-mips/namei.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * linux/include/asm-mips/namei.h
  3  *
  4  * Included from linux/fs/namei.c
  5  *
  6  * $Id: namei.h,v 1.6 1999/01/04 16:09:23 ralf Exp $
  7  */
  8 #ifndef __ASM_MIPS_NAMEI_H
  9 #define __ASM_MIPS_NAMEI_H
 10 
 11 #include <linux/config.h>
 12 
 13 /* Only one at this time. */
 14 #define IRIX32_EMUL "usr/gnemul/irix/"
 15 
 16 #ifdef CONFIG_BINFMT_IRIX
 17 
 18 static inline char *__emul_prefix(void)
 19 {
 20         if (current->personality != PER_IRIX32)
 21                 return NULL;
 22         return IRIX32_EMUL;
 23 }
 24 
 25 #else /* !defined(CONFIG_BINFMT_IRIX) */
 26 
 27 #define __emul_prefix() NULL
 28 
 29 #endif /* !defined(CONFIG_BINFMT_IRIX) */
 30 
 31 #endif /* __ASM_MIPS_NAMEI_H */
 32 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.