Revert "Add a workaround for UB on arm64"

The kernel bug that caused this has been fixed.

This reverts commit 4d82cd90f8.
This commit is contained in:
bjorn3
2025-04-12 17:14:01 +02:00
parent 5ea71a02c7
commit d85fe6bdd5
-4
View File
@@ -647,10 +647,6 @@ impl MmapGuard {
Ok(())
}
// Without this inline(never), UB somewhere causes the flags to be set to 0 on arm64.
// FIXME Find the UB and fix it
#[inline(never)]
pub unsafe fn map_mut_anywhere<'a>(
fd: usize,
offset: usize,