Blame view

include/asm-arm26/namei.h 437 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
  /* 
f30c22695   Uwe Zeisberger   fix file specific...
2
   * linux/include/asm-arm26/namei.h
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
   *
   * Routines to handle famous /usr/gnemul
   * Derived from the Sparc version of this file
   *
   * Included from linux/fs/namei.c
   */
  
  #ifndef __ASMARM_NAMEI_H
  #define __ASMARM_NAMEI_H
  
  #define ARM_BSD_EMUL "usr/gnemul/bsd/"
  
  static inline char *__emul_prefix(void)
  {
  	switch (current->personality) {
  	case PER_BSD:
  		return ARM_BSD_EMUL;
  	default:
  		return NULL;
  	}
  }
  
  #endif /* __ASMARM_NAMEI_H */