Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/arch/powerpc/powerpc Pull up revision 1.97 (requested...
details: https://anonhg.NetBSD.org/src/rev/8cd6248d1e63
branches: netbsd-6
changeset: 774299:8cd6248d1e63
user: jdc <jdc%NetBSD.org@localhost>
date: Wed Jul 04 20:58:27 2012 +0000
description:
Pull up revision 1.97 (requested by matt in ticket #388).
Don't panic if you can't allocate a contiguous stack for system threads.
Just use a mapped a stack.
diffstat:
sys/arch/powerpc/powerpc/vm_machdep.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r e17d127a67a4 -r 8cd6248d1e63 sys/arch/powerpc/powerpc/vm_machdep.c
--- a/sys/arch/powerpc/powerpc/vm_machdep.c Wed Jul 04 20:55:44 2012 +0000
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c Wed Jul 04 20:58:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.94.2.1 2012/05/09 20:09:15 riz Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.94.2.2 2012/07/04 20:58:27 jdc Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.94.2.1 2012/05/09 20:09:15 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.94.2.2 2012/07/04 20:58:27 jdc Exp $");
#include "opt_altivec.h"
#include "opt_multiprocessor.h"
@@ -300,9 +300,7 @@
*/
error = uvm_pglistalloc(USPACE, 0, ~0UL, 0, 0, &pglist, 1, 1);
if (error) {
- if (!system)
- return NULL;
- panic("%s: uvm_pglistalloc failed: %d", __func__, error);
+ return NULL;
}
/*
Home |
Main Index |
Thread Index |
Old Index