2005-04-17 00:20:36 +02:00
|
|
|
/*
|
2006-10-03 23:01:26 +02:00
|
|
|
* linux/include/asm-arm26/namei.h
|
2005-04-17 00:20:36 +02:00
|
|
|
*
|
|
|
|
* 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 */
|