diff options
Diffstat (limited to 'tools/debugger/pdb/linux-2.6-patches/traps.patch')
-rw-r--r-- | tools/debugger/pdb/linux-2.6-patches/traps.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/debugger/pdb/linux-2.6-patches/traps.patch b/tools/debugger/pdb/linux-2.6-patches/traps.patch deleted file mode 100644 index 54b2ddbcb3..0000000000 --- a/tools/debugger/pdb/linux-2.6-patches/traps.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -u linux-2.6.12/arch/xen/i386/kernel/traps.c linux-2.6.12-pdb/arch/xen/i386/kernel/traps.c ---- linux-2.6.12/arch/xen/i386/kernel/traps.c 2005-07-31 22:47:00.000000000 +0100 -+++ linux-2.6.12-pdb/arch/xen/i386/kernel/traps.c 2005-07-31 22:47:32.000000000 +0100 -@@ -102,6 +102,16 @@ - return err; - } - -+int unregister_die_notifier(struct notifier_block *nb) -+{ -+ int err = 0; -+ unsigned long flags; -+ spin_lock_irqsave(&die_notifier_lock, flags); -+ err = notifier_chain_unregister(&i386die_chain, nb); -+ spin_unlock_irqrestore(&die_notifier_lock, flags); -+ return err; -+} -+ - static inline int valid_stack_ptr(struct thread_info *tinfo, void *p) - { - return p > (void *)tinfo && |