SWDEV-232428 - Fix CI regressions caused by 99e8ac5

Change-Id: I36e9ce964f4d7733450eee356d425d23e1d7ff2c
This commit is contained in:
Vladislav Sytchenko
2021-03-09 11:07:24 -05:00
orang tua 99e8ac55cd
melakukan 27e3b875f7
2 mengubah file dengan 4 tambahan dan 5 penghapusan
+4 -4
Melihat File
@@ -362,11 +362,11 @@ void HostcallListener::removeBuffer(HostcallBuffer* buffer) {
bool HostcallListener::initialize(const amd::Device &dev) {
doorbell_ = dev.createSignal();
#ifdef WITH_PAL_DEVICE
auto ws = device::Signal::WaitState::Active;
#elif WITH_HSA_DEVICE
#ifdef WITH_HSA_DEVICE
auto ws = device::Signal::WaitState::Blocked;
#endif
#elif
auto ws = device::Signal::WaitState::Active;
#endif
if ((doorbell_ == nullptr) || !doorbell_->Init(dev, SIGNAL_INIT, ws)) {
return false;
}