mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
powerpc/mpc85xx: Don't use the quantum cache in vmem for MPIC MSIs
The qcache is unnecessary for this purpose, it's only needed when there are lots of concurrent allocations. Reported by: markj
This commit is contained in:
parent
66959b4f5d
commit
76d5f5e22c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362002
|
@ -896,7 +896,7 @@ fsl_msi_attach(device_t dev)
|
|||
sc = device_get_softc(dev);
|
||||
|
||||
if (msi_vmem == NULL)
|
||||
msi_vmem = vmem_create("MPIC MSI", 0, 0, 1, 1, M_BESTFIT | M_WAITOK);
|
||||
msi_vmem = vmem_create("MPIC MSI", 0, 0, 1, 0, M_BESTFIT | M_WAITOK);
|
||||
|
||||
/* Manually play with resource entries. */
|
||||
sc->sc_base = bus_get_resource_start(dev, SYS_RES_MEMORY, 0);
|
||||
|
|
Loading…
Reference in a new issue