diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-09-01 04:45:35 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-01 04:45:35 -0400 |
commit | ade315d83c1d53b3c6b820134cb16601351810fe (patch) | |
tree | 19d528431ba57ba3f4d7593f3849007ef64d0163 /arch/sh/kernel/kgdb.c | |
parent | 1e1030dccb1084c8a38976d3656aab1d50d762da (diff) |
sh: Kill off kgdb's magical NMI debouncing.
The kgdb stub has traditionally tied in to the NMI slot, and manually
handled debounce. Now that we have a generic way to do this instead, all
of the stub-specific debounce silliness can be killed off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/kgdb.c')
-rw-r--r-- | arch/sh/kernel/kgdb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/kernel/kgdb.c b/arch/sh/kernel/kgdb.c index d29de7864f32..3e532d0d4a5c 100644 --- a/arch/sh/kernel/kgdb.c +++ b/arch/sh/kernel/kgdb.c | |||
@@ -15,8 +15,6 @@ | |||
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <asm/cacheflush.h> | 16 | #include <asm/cacheflush.h> |
17 | 17 | ||
18 | char in_nmi = 0; /* Set during NMI to prevent re-entry */ | ||
19 | |||
20 | /* Macros for single step instruction identification */ | 18 | /* Macros for single step instruction identification */ |
21 | #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) | 19 | #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) |
22 | #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) | 20 | #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) |