Skip to content

Commit

Permalink
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
Delphix Engineering committed Nov 27, 2024
2 parents e8b4d3b + 20c35a2 commit 8731370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addrxlat/x86_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ get_linux_pgt_root(addrxlat_ctx_t *ctx, addrxlat_fulladdr_t *addr)

status = get_reg(ctx, "cr3", &addr->addr);
if (status == ADDRXLAT_OK) {
addr->addr &= ~PAGE_MASK;
addr->as = ADDRXLAT_MACHPHYSADDR;
return status;
} else if (status != ADDRXLAT_ERR_NODATA)
Expand Down Expand Up @@ -740,7 +741,6 @@ map_linux_x86_64(struct os_init_data *ctl)
if (status != ADDRXLAT_OK)
return set_error(ctl->ctx, status,
"Cannot determine root page table");
meth->param.pgt.root.addr &= ~PAGE_MASK;

status = get_number(ctl->ctx, "sme_mask", &sme_mask);
if (status == ADDRXLAT_OK)
Expand Down

0 comments on commit 8731370

Please sign in to comment.