Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188407
b: refs/heads/master
c: 5d8614c
h: refs/heads/master
i:
  188405: 6465347
  188403: 14d00e8
  188399: 541cd10
v: v3
  • Loading branch information
Will Deacon authored and Russell King committed Mar 15, 2010
1 parent a681609 commit 2677816
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75216859d96f66856a0ee78c2de5b02115ff65f3
refs/heads/master: 5d8614cc5d6c5c02b7995ed97303481d4e3a8cc7
13 changes: 13 additions & 0 deletions trunk/arch/arm/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Authors: George Davis <davis_g@mvista.com>
* Deepak Saxena <dsaxena@plexity.net>
*/
#include <linux/irq.h>
#include <linux/kgdb.h>
#include <asm/traps.h>

Expand Down Expand Up @@ -158,6 +159,18 @@ static struct undef_hook kgdb_compiled_brkpt_hook = {
.fn = kgdb_compiled_brk_fn
};

static void kgdb_call_nmi_hook(void *ignored)
{
kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs());
}

void kgdb_roundup_cpus(unsigned long flags)
{
local_irq_enable();
smp_call_function(kgdb_call_nmi_hook, NULL, 0);
local_irq_disable();
}

/**
* kgdb_arch_init - Perform any architecture specific initalization.
*
Expand Down

0 comments on commit 2677816

Please sign in to comment.