mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
PDB: convert ptrace.c and traps.c changes to local patches
This commit is contained in:
1 parent
b640da2bc5
commit
df47943bc5
8 files changed
+81
-8
No files matched your search
@@ -278,14 +278,10 @@ pdb_initialize (void)
|
||||
return err;
|
||||
}
|
||||
|
||||
extern struct notifier_block *i386die_chain;
|
||||
extern spinlock_t die_notifier_lock;
|
||||
|
||||
static void __exit
|
||||
pdb_terminate(void)
|
||||
{
|
||||
int err = 0;
|
||||
unsigned long flags;
|
||||
|
||||
printk("pdb cleanup\n");
|
||||
|
||||
@@ -305,9 +301,8 @@ pdb_terminate(void)
|
||||
|
||||
pdb_send_connection_status(PDB_CONNECTION_STATUS_DOWN, 0);
|
||||
|
||||
spin_lock_irqsave(&die_notifier_lock, flags);
|
||||
err = notifier_chain_unregister(&i386die_chain, &pdb_exceptions_nb);
|
||||
spin_unlock_irqrestore(&die_notifier_lock, flags);
|
||||
/* handler for int1 & int3 */
|
||||
err = unregister_die_notifier(&pdb_exceptions_nb);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||