Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28703
b: refs/heads/master
c: 480f6f3
h: refs/heads/master
i:
  28701: 493c281
  28699: da1af1e
  28695: fd7c529
  28687: de457e5
  28671: 73b9451
v: v3
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed May 19, 2006
1 parent 6cd2780 commit d1b3c34
Show file tree
Hide file tree
Showing 5 changed files with 10 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: 9dabbfbab312909782b26580d71e3977622fab6e
refs/heads/master: 480f6f35a149802a94ad5c1a2673ed6ec8d2c158
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kernel/setup-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ void __init smp_setup_cpu_maps(void)
}
#endif /* CONFIG_SMP */

int __initdata do_early_xmon;
#ifdef CONFIG_XMON
static int __init early_xmon(char *p)
{
Expand All @@ -456,7 +457,7 @@ static int __init early_xmon(char *p)
return 0;
}
xmon_init(1);
debugger(NULL);
do_early_xmon = 1;

return 0;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/powerpc/kernel/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
void check_for_initrd(void);
void do_init_bootmem(void);
void setup_panic(void);
extern int do_early_xmon;

#endif /* _POWERPC_KERNEL_SETUP_H */
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ void __init setup_arch(char **cmdline_p)

parse_early_param();

if (do_early_xmon)
debugger(NULL);

/* set up the bootmem stuff with available memory */
do_init_bootmem();
if ( ppc_md.progress ) ppc_md.progress("setup_arch: bootmem", 0x3eab);
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ void __init setup_system(void)

parse_early_param();

if (do_early_xmon)
debugger(NULL);

check_smt_enabled();
smp_setup_cpu_maps();

Expand Down

0 comments on commit d1b3c34

Please sign in to comment.