diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-07-01 08:59:06 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-07-01 08:59:06 +0000 |
commit | 7beed3a871060bfa452163c1bd54ea0989e1fa74 (patch) | |
tree | 29d8c7936267d4579ce803208a126ec7c0055c94 /arch/mips/kernel/gdb-stub.c | |
parent | 5db55a1e1de9e46e561bf100e90c01dd22bd03de (diff) |
Minor optimization, use save_and_cli() instead of save_flags();
cli(); sequences.
Diffstat (limited to 'arch/mips/kernel/gdb-stub.c')
-rw-r--r-- | arch/mips/kernel/gdb-stub.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/kernel/gdb-stub.c b/arch/mips/kernel/gdb-stub.c index 255ec2228..adbb750d8 100644 --- a/arch/mips/kernel/gdb-stub.c +++ b/arch/mips/kernel/gdb-stub.c @@ -11,6 +11,8 @@ * Send complaints, suggestions etc. to <andy@waldorf-gmbh.de> * * Copyright (C) 1995 Andreas Busse + * + * $Id: gdb-stub.c,v 1.2 1997/06/28 23:26:24 ralf Exp $ */ /* @@ -328,7 +330,7 @@ void set_debug_traps(void) unsigned long flags; unsigned char c; - save_flags(flags); cli(); + save_and_cli(flags); for (ht = hard_trap_info; ht->tt && ht->signo; ht++) set_except_vector(ht->tt, trap_low); |