#if defined(I386)
extern struct user_regs_struct i386_regs;
-#endif
-#if defined(IA64)
+#elif defined(IA64)
extern long ia32;
-#endif
-#if defined(SPARC) || defined(SPARC64)
+#elif defined(SPARC) || defined(SPARC64)
extern struct pt_regs sparc_regs;
-#endif
-#if defined(ARM)
+#elif defined(ARM)
extern struct pt_regs arm_regs;
-#endif
-#if defined(TILE)
+#elif defined(TILE)
extern struct pt_regs tile_regs;
#endif
-/* Our second set comes from the i386 files. */
+/* "ARM specific syscall" personality */
#include "../errnoent.h"
-/* Our second set comes from the i386 files. */
-#include "linux/ioctlent.h"
+/* "ARM specific syscall" personality */
+#include "../ioctlent.h"
-/* Our second set comes from the i386 files. */
+/* i386 personality */
#include "../signalent.h"
-/* ARM specific syscalls */
+/* "ARM specific syscall" personality */
{ 5, 0, NULL, NULL }, /* 0 */
{ 5, 0, printargs, "breakpoint" }, /* 1 */
{ 5, 0, printargs, "cacheflush" }, /* 2 */
#define sys_fstat64 printargs
#define sys_fcntl64 printargs
-#include "i386/syscallent.h"
+#include "../i386/syscallent.h"
#undef sys_getrlimit
#undef sys_afs_syscall
-#include "linux/ioctlent.h"
+#include "../ioctlent.h"
/* tilegx32/tilepro */
-#include "linux/errnoent.h"
+#include "../errnoent.h"
/* tilegx32/tilepro */
-#include "linux/ioctlent.h"
+#include "../ioctlent.h"
/* tilegx32/tilepro */
-#include "linux/signalent.h"
+#include "../signalent.h"
-/* Our second set comes from the i386 files. */
+/* i386 personality */
#include "../errnoent.h"
-/* Our second set comes from the i386 files. */
-#include "linux/ioctlent.h"
+/* i386 personality */
+#include "../ioctlent.h"
-/* Our second set comes from the i386 files. */
+/* i386 personality */
#include "../signalent.h"
#define sys_lstat64 sys_stat64
#define sys_truncate64 sys_truncate
#define sys_ftruncate64 sys_ftruncate
-#include "i386/syscallent.h"
+#include "../i386/syscallent.h"
-/* Our second set comes from the i386 files. */
+/* i386 personality */
#include "../errnoent.h"
-/* Our third set is for x32. */
+/* x32 personality */
#include "../errnoent.h"
-/* Our second set comes from the i386 files. */
-#include "linux/ioctlent.h"
+/* i386 personality */
+#include "../ioctlent.h"
-/* Our third set is for x32. */
-#include "linux/ioctlent.h"
+/* x32 personality */
+#include "../ioctlent.h"
-/* Our second set comes from the i386 files. */
+/* i386 personality */
#include "../signalent.h"
-/* Our third set is for x32. */
+/* x32 personality */
#include "../signalent.h"
#define sys_oldstat printargs
#define sys_oldfstat printargs
#define sys_oldlstat printargs
-#include "i386/syscallent.h"
+#include "../i386/syscallent.h"
-/* Our third set is for x32. */
-#include "x32/syscallent.h"
+/* x32 personality */
+#include "../x32/syscallent.h"