Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42338
b: refs/heads/master
c: bbb6817
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 4, 2006
1 parent e10fb45 commit 6a3f450
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec59cf710bcf638a895f2ad90cafb1493b95953e
refs/heads/master: bbb681779012fae778c0a53081bbb19cf43bca4e
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ config KGDB_CONSOLE

config XMON
bool "Include xmon kernel debugger"
depends on DEBUGGER && !PPC_ISERIES
depends on DEBUGGER
help
Include in-kernel hooks for the xmon kernel monitor/debugger.
Unless you are intending to debug the kernel, say N here.
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/xmon/xmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#ifdef CONFIG_PPC64
#include <asm/hvcall.h>
#include <asm/paca.h>
#include <asm/iseries/it_lp_reg_save.h>
#endif

#include "nonstdio.h"
Expand Down Expand Up @@ -2580,6 +2581,10 @@ void dump_segments(void)

void xmon_init(int enable)
{
#ifdef CONFIG_PPC_ISERIES
if (firmware_has_feature(FW_FEATURE_ISERIES))
return;
#endif
if (enable) {
__debugger = xmon;
__debugger_ipi = xmon_ipi;
Expand Down Expand Up @@ -2617,6 +2622,10 @@ static struct sysrq_key_op sysrq_xmon_op =

static int __init setup_xmon_sysrq(void)
{
#ifdef CONFIG_PPC_ISERIES
if (firmware_has_feature(FW_FEATURE_ISERIES))
return 0;
#endif
register_sysrq_key('x', &sysrq_xmon_op);
return 0;
}
Expand Down

0 comments on commit 6a3f450

Please sign in to comment.