mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-18 19:41:01 +01:00
SMMU: Fix Unregister on MultiAddress
This commit is contained in:
parent
34a8d0cc8e
commit
bad705f245
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public:
|
||||||
u32 next_entry = current->next_entry;
|
u32 next_entry = current->next_entry;
|
||||||
if (next_entry != 0) {
|
if (next_entry != 0) {
|
||||||
next = &storage[next_entry - 1];
|
next = &storage[next_entry - 1];
|
||||||
more_than_one_remaining = next->next_entry != 0;
|
more_than_one_remaining = next->next_entry != 0 || previous != nullptr;
|
||||||
}
|
}
|
||||||
if (previous) {
|
if (previous) {
|
||||||
previous->next_entry = next_entry;
|
previous->next_entry = next_entry;
|
||||||
|
|
Loading…
Reference in a new issue