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:
parent
6cae59b1e7
commit
fde84c1850
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user