home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-ia64 / namei.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  458 b   |  26 lines

  1. #ifndef _ASM_IA64_NAMEI_H
  2. #define _ASM_IA64_NAMEI_H
  3.  
  4. /*
  5.  * Modified 1998, 1999, 2001
  6.  *    David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  7.  */
  8.  
  9. #include <asm/ptrace.h>
  10. #include <asm/system.h>
  11.  
  12. #define EMUL_PREFIX_LINUX_IA32 "/emul/ia32-linux/"
  13.  
  14. static inline char *
  15. __emul_prefix (void)
  16. {
  17.     switch (current->personality) {
  18.           case PER_LINUX32:
  19.         return EMUL_PREFIX_LINUX_IA32;
  20.           default:
  21.         return NULL;
  22.     }
  23. }
  24.  
  25. #endif /* _ASM_IA64_NAMEI_H */
  26.