swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: b07d68b5ca4d55a16fab223d63d5fb36f89ff42f authored by Linus Torvalds on 28 August 2007, 01:32:35 UTC
Linux 2.6.23-rc4
Tip revision: b07d68b
namei.h
/* 
 * 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 */
back to top