summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-08-14 05:00:37 +0000
committermarcel <marcel@FreeBSD.org>2004-08-14 05:00:37 +0000
commit2e735948978c6bae8d971ddacece7df859d3bf9d (patch)
tree7905edc0045b3215ed9a44005f438ef86fdca7b8 /sys/ia64
parent49a8ad2487b2329a538450200f1b1b2d698d6a23 (diff)
downloadFreeBSD-src-2e735948978c6bae8d971ddacece7df859d3bf9d.zip
FreeBSD-src-2e735948978c6bae8d971ddacece7df859d3bf9d.tar.gz
Allocate memory in the unwinder with M_NOWAIT. We may need to provide
backtraces with locks held.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/unwind.c b/sys/ia64/ia64/unwind.c
index a0099c3..4ee31b2 100644
--- a/sys/ia64/ia64/unwind.c
+++ b/sys/ia64/ia64/unwind.c
@@ -107,7 +107,7 @@ unw_alloc(size_t sz)
return (void*)(hdr + 1);
}
#endif
- return (malloc(sz, M_UNWIND, M_WAITOK));
+ return (malloc(sz, M_UNWIND, M_NOWAIT));
}
static void
OpenPOWER on IntegriCloud