Currently binding is vetoed if 'UpcallEnabled' is not set, but this is not
necessary if the selected processor is 0, as the callback via will also
interrupt that CPU.
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Processor = &Context->Processor[Cpu];
status = STATUS_NOT_SUPPORTED;
- if (!Processor->UpcallEnabled)
+ if (!Processor->UpcallEnabled && Cpu != 0)
goto fail1;
status = SystemVirtualCpuIndex(Cpu, &vcpu_id);
Processor = &Context->Processor[Cpu];
status = STATUS_NOT_SUPPORTED;
- if (!Processor->UpcallEnabled)
+ if (!Processor->UpcallEnabled && Cpu != 0)
goto fail1;
KeAcquireSpinLock(&Channel->Lock, &Irql);