Clean up one remaining 'multiple DPC thread' bogon: only bzero() one

sizeof(kq_queue), not sizeof(kq_queue) * mp_ncpus.
This commit is contained in:
Bill Paul 2005-11-01 09:24:35 +00:00
parent 6cae59b1e7
commit fde84c1850

View File

@ -285,7 +285,11 @@ ntoskrnl_libinit()
if (wq_queues == NULL)
return(ENOMEM);
#ifdef NTOSKRNL_MULTIPLE_DPCS
bzero((char *)kq_queues, sizeof(kdpc_queue) * mp_ncpus);
#else
bzero((char *)kq_queues, sizeof(kdpc_queue));
#endif
bzero((char *)wq_queues, sizeof(kdpc_queue) * WORKITEM_THREADS);
/*