power: reset: fix compilation error

flush_cache_all() is not supported in msm-5.4.

Change-Id: Ibd87c401d37917f341049e5b19db97dd79eafbb2
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
This commit is contained in:
Ping Jiang 2021-03-15 17:27:36 +08:00
commit b641d33db4

View file

@ -35,8 +35,6 @@ static int do_vm_restart(struct notifier_block *unused, unsigned long action,
{
pr_notice("Going down for vm restart now\n");
flush_cache_all();
/*outer_flush_all is not supported by 64bit kernel*/
#ifndef CONFIG_ARM64
outer_flush_all();