scall64-n32.S (722cfd90420b660ad13f933efb135daf1d0e5400) | scall64-n32.S (192ef366198ce16c0379100565cdc5b7bd68511f) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1995, 96, 97, 98, 99, 2000, 01 by Ralf Baechle 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 * Copyright (C) 2001 MIPS Technologies, Inc. 9 */ 10#include <linux/errno.h> 11#include <asm/asm.h> 12#include <asm/asmmacro.h> | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1995, 96, 97, 98, 99, 2000, 01 by Ralf Baechle 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 * Copyright (C) 2001 MIPS Technologies, Inc. 9 */ 10#include <linux/errno.h> 11#include <asm/asm.h> 12#include <asm/asmmacro.h> |
13#include <asm/irqflags.h> |
|
13#include <asm/mipsregs.h> 14#include <asm/regdef.h> 15#include <asm/stackframe.h> 16#include <asm/thread_info.h> 17#include <asm/unistd.h> 18 19/* This duplicates the definition from <linux/sched.h> */ 20#define PT_TRACESYS 0x00000002 /* tracing system calls */ --- 6 unchanged lines hidden (view full) --- 27#define handle_sysn32 handle_sys 28#endif 29 30 .align 5 31NESTED(handle_sysn32, PT_SIZE, sp) 32#ifndef CONFIG_MIPS32_O32 33 .set noat 34 SAVE_SOME | 14#include <asm/mipsregs.h> 15#include <asm/regdef.h> 16#include <asm/stackframe.h> 17#include <asm/thread_info.h> 18#include <asm/unistd.h> 19 20/* This duplicates the definition from <linux/sched.h> */ 21#define PT_TRACESYS 0x00000002 /* tracing system calls */ --- 6 unchanged lines hidden (view full) --- 28#define handle_sysn32 handle_sys 29#endif 30 31 .align 5 32NESTED(handle_sysn32, PT_SIZE, sp) 33#ifndef CONFIG_MIPS32_O32 34 .set noat 35 SAVE_SOME |
36 TRACE_IRQS_ON |
|
35 STI 36 .set at 37#endif 38 39 dsubu t0, v0, __NR_N32_Linux # check syscall number 40 sltiu t0, t0, __NR_N32_Linux_syscalls + 1 41 42#ifndef CONFIG_MIPS32_O32 --- 350 unchanged lines hidden --- | 37 STI 38 .set at 39#endif 40 41 dsubu t0, v0, __NR_N32_Linux # check syscall number 42 sltiu t0, t0, __NR_N32_Linux_syscalls + 1 43 44#ifndef CONFIG_MIPS32_O32 --- 350 unchanged lines hidden --- |