Missed a missing M_WAITOK.

This commit is contained in:
Jake Burkholder 2003-02-19 17:29:07 +00:00
parent a5902eaf0c
commit b41be772ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111135

View File

@ -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];