Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Remove restriction of "mach prom" t...
details: https://anonhg.NetBSD.org/src/rev/dfecaa10dcef
branches: trunk
changeset: 749523:dfecaa10dcef
user: martin <martin%NetBSD.org@localhost>
date: Tue Dec 01 18:51:20 2009 +0000
description:
Remove restriction of "mach prom" to cpu0 - it does not make sense now
that cpu0 is not always the bootstrap cpu, and in the majority of cases
the prom abort will just work fine on any cpu.
diffstat:
sys/arch/sparc64/sparc64/db_interface.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r fc9bc9c20acd -r dfecaa10dcef sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c Tue Dec 01 17:06:34 2009 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c Tue Dec 01 18:51:20 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.118 2009/11/21 04:16:52 rmind Exp $ */
+/* $NetBSD: db_interface.c,v 1.119 2009/12/01 18:51:20 martin Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.118 2009/11/21 04:16:52 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.119 2009/12/01 18:51:20 martin Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -568,12 +568,6 @@
void
db_prom_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif)
{
-
- if (cpu_number()) {
- printf("this command is not safe while running on another "
- "CPU, please do\n\"mach cpu 0\" and then try again\n");
- return;
- }
prom_abort();
}
Home |
Main Index |
Thread Index |
Old Index