Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22804ee7 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

Revert "ANDROID: arm64: Use __pa_symbol for kernel symbols"



This reverts commit 356791cb.

Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 20045882
Bug: 63737556
Change-Id: I0f3d7f16609b54c8610938210c66c1d6fe067785
parent 4ba9144f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
#include <linux/ftrace.h>
#include <linux/mm.h>
#include <linux/percpu.h>
#include <linux/slab.h>
#include <asm/cacheflush.h>
@@ -164,7 +163,7 @@ static int __init cpu_suspend_init(void)

	sleep_save_sp.save_ptr_stash = ctx_ptr;
	sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr);
	sleep_idmap_phys = __pa_symbol(idmap_pg_dir);
	sleep_idmap_phys = virt_to_phys(idmap_pg_dir);
	__flush_dcache_area(&sleep_save_sp, sizeof(struct sleep_save_sp));
	__flush_dcache_area(&sleep_idmap_phys, sizeof(sleep_idmap_phys));