Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Panic after openfirm, it is not sup...
details: https://anonhg.NetBSD.org/src/rev/2884fc2fb7b3
branches: trunk
changeset: 331283:2884fc2fb7b3
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Aug 07 09:08:09 2014 +0000
description:
Panic after openfirm, it is not supposed to return.
diffstat:
sys/arch/powerpc/powerpc/openfirm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 543578cafe0a -r 2884fc2fb7b3 sys/arch/powerpc/powerpc/openfirm.c
--- a/sys/arch/powerpc/powerpc/openfirm.c Thu Aug 07 09:06:53 2014 +0000
+++ b/sys/arch/powerpc/powerpc/openfirm.c Thu Aug 07 09:08:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: openfirm.c,v 1.24 2014/02/28 05:45:26 matt Exp $ */
+/* $NetBSD: openfirm.c,v 1.25 2014/08/07 09:08:09 joerg Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -34,7 +34,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: openfirm.c,v 1.24 2014/02/28 05:45:26 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: openfirm.c,v 1.25 2014/08/07 09:08:09 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -615,8 +615,8 @@
ofw_stack();
ofbcopy(bootspec, OF_buf, l + 1);
args.bootspec = OF_buf;
- if (openfirmware(&args) == -1)
- panic("OF_boot didn't");
+ openfirmware(&args);
+ panic("OF_boot didn't");
}
void
Home |
Main Index |
Thread Index |
Old Index