mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Uwe Zeisberger](/assets/img/avatar_default.png)
Many files include the filename at the beginning, serveral used a wrong one. Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@digi.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
25 lines
437 B
C
25 lines
437 B
C
/*
|
|
* linux/include/asm-arm26/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 */
|