summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sparc64/fhc/fhc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/fhc/fhc.c b/sys/sparc64/fhc/fhc.c
index f12bbc9..15d3880 100644
--- a/sys/sparc64/fhc/fhc.c
+++ b/sys/sparc64/fhc/fhc.c
@@ -229,7 +229,7 @@ fhc_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
sc = device_get_softc(bus);
rid = rman_get_rid(r);
- fc = malloc(sizeof(*fc), M_DEVBUF, M_ZERO);
+ fc = malloc(sizeof(*fc), M_DEVBUF, M_WAITOK | M_ZERO);
fc->fc_func = func;
fc->fc_arg = arg;
fc->fc_bt = sc->sc_bt[rid];
OpenPOWER on IntegriCloud