You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
435 B
26 lines
435 B
20 years ago
|
/*
|
||
|
* linux/include/asm-arm/namei.h
|
||
|
*
|
||
|
* 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 */
|