Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356163
b: refs/heads/master
c: 3596f5b
h: refs/heads/master
i:
  356161: 3006ff4
  356159: a57e696
v: v3
  • Loading branch information
H. Peter Anvin committed Jan 26, 2013
1 parent 6c5a2db commit f8919e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e4bf1a55da976a5ed60901bb8801f1024ef9774
refs/heads/master: 3596f5bb0a6afd01a784bfe120f420edbbf82861
3 changes: 2 additions & 1 deletion trunk/arch/x86/lguest/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ static void lguest_write_cr3(unsigned long cr3)
current_cr3 = cr3;

/* These two page tables are simple, linear, and used during boot */
if (cr3 != __pa(swapper_pg_dir) && cr3 != __pa(initial_page_table))
if (cr3 != __pa_symbol(swapper_pg_dir) &&
cr3 != __pa_symbol(initial_page_table))
cr3_changed = true;
}

Expand Down

0 comments on commit f8919e4

Please sign in to comment.