Skip to content

Commit 6122819

Browse files
committed
[CONTINT-4562] Fix arm64 build
1 parent c6fc25a commit 6122819

File tree

1 file changed

+1
-1
lines changed
  • lading/src/observer/linux

1 file changed

+1
-1
lines changed

lading/src/observer/linux/wss.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const PAGE_OFFSET: u64 = 0xffff_8800_0000_0000;
2222
// # CONFIG_ARM64_VA_BITS_39 is not set
2323
// CONFIG_ARM64_VA_BITS_48=y
2424
// CONFIG_ARM64_VA_BITS=48
25-
const PAGE_OFFSET: u64 = -1 << 48;
25+
const PAGE_OFFSET: u64 = u64::MAX << 48;
2626

2727
#[derive(thiserror::Error, Debug)]
2828
pub enum Error {

0 commit comments

Comments
 (0)