]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - arch/x86/platform/olpc/olpc-xo1-pm.c
x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()
[mirror_ubuntu-focal-kernel.git] / arch / x86 / platform / olpc / olpc-xo1-pm.c
index c5350fd27d709a0dbe1fbd0cfb954d111ca50608..0668aaff8bfe50bbe0fe19d2d4ba193409143ae4 100644 (file)
@@ -77,7 +77,7 @@ static int xo1_power_state_enter(suspend_state_t pm_state)
 
 asmlinkage __visible int xo1_do_sleep(u8 sleep_state)
 {
-       void *pgd_addr = __va(read_cr3());
+       void *pgd_addr = __va(read_cr3_pa());
 
        /* Program wakeup mask (using dword access to CS5536_PM1_EN) */
        outl(wakeup_mask << 16, acpi_base + CS5536_PM1_STS);