diff options
| author | Miles Bader <miles@lsi.nec.co.jp> | 2003-02-18 05:39:21 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-18 05:39:21 -0800 |
| commit | ac35a427ee89833c01b43335af76dc3a20c735bd (patch) | |
| tree | 7721dcf3a037db15dd4391f8cfb9fc90bf9bf5d7 /include | |
| parent | 9fa2b7c4821f5915c950b5270c3d92c505982e7f (diff) | |
[PATCH] Remove unused compile-time configuration options on v850
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-v850/entry.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/include/asm-v850/entry.h b/include/asm-v850/entry.h index c3e277cff21e..7d239eb1cad0 100644 --- a/include/asm-v850/entry.h +++ b/include/asm-v850/entry.h @@ -1,8 +1,8 @@ /* * include/asm-v850/entry.h -- Definitions used by low-level trap handlers * - * Copyright (C) 2001,02 NEC Corporation - * Copyright (C) 2001,02 Miles Bader <miles@gnu.org> + * Copyright (C) 2001,02,03 NEC Electronics Corporation + * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org> * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this @@ -19,21 +19,6 @@ #include <asm/machdep.h> -/* If true, system calls save and restore all registers (except result - registers, of course). If false, then `call clobbered' registers - will not be preserved, on the theory that system calls are basically - function calls anyway, and the caller should be able to deal with it. - This is a security risk, of course, as `internal' values may leak out - after a system call, but that certainly doesn't matter very much for - a processor with no MMU protection! For a protected-mode kernel, it - would be faster to just zero those registers before returning. */ -#define TRAPS_PRESERVE_CALL_CLOBBERED_REGS 0 - -/* If TRAPS_PRESERVE_CALL_CLOBBERED_REGS is false, then zero `call - clobbered' registers before returning from a system call. */ -#define TRAPS_ZERO_CALL_CLOBBERED_REGS 0 - - /* These are special variables using by the kernel trap/interrupt code to save registers in, at a time when there are no spare registers we can use to do so, and we can't depend on the value of the stack |
