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

Skip to content
Commit c56b3117 authored by Akshay Adiga's avatar Akshay Adiga
Browse files

arm64/kdump: Build fix for CONFIG_KEXEC



Compilation/Build fix when CONFIG_KEXEC is enabled
This is caused because of :
   a) commit 6c4d635c ("Revert "arm64: kill flush_cache_all()"")
   included internally adds asm code for cpu_soft_restart and defined
   in proc-fns.h. It was added so that ramdump contains all dirty
   cache data and cache flush in reboot.

   b) commit f9076ecf ("arm64: Add back cpu reset routines") from
   upstream adds cpu_soft_restart in cpu_reset.h and hooks it up to
   hyp-stub. This patch's main intention was to add support for kexec.

   The patch chooses to rename function in (b) because it's intended
   use is for kexec.

Change-Id: Ide95220b5f609a82eaf3fcb64c155080be0f39dd
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
Signed-off-by: default avatarAkshay Adiga <aadiga@codeaurora.org>
parent 4c8629bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment