[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XENBUS PATCH] fdo: Remove check for Windows 7
We target Windows 10 and later. KeGetProcessorNumberFromIndex and PROCESSOR_NUMBER are also only available in Windows 7 and later, so the check does not make sense here. Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx> --- src/xenbus/fdo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xenbus/fdo.c b/src/xenbus/fdo.c index 4e87727..29f228c 100644 --- a/src/xenbus/fdo.c +++ b/src/xenbus/fdo.c @@ -2002,9 +2002,7 @@ FdoFilterResourceRequirements( status = KeGetProcessorNumberFromIndex(Index, &ProcNumber); ASSERT(NT_SUCCESS(status)); - if (RtlIsNtDdiVersionAvailable(NTDDI_WIN7)) - Interrupt.u.Interrupt.Group = ProcNumber.Group; - + Interrupt.u.Interrupt.Group = ProcNumber.Group; Interrupt.u.Interrupt.TargetedProcessors = (KAFFINITY)1 << ProcNumber.Number; List->Descriptors[List->Count++] = Interrupt; } -- 2.51.0.windows.1 -- Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |