arm64: Use arch_program_segment_loaded instead of cache_sync_instructions

This ensures that the cache is cleaned to PoC for the memory in which
kernel is loaded.

BUG=chrome-os-partner:38231
BRANCH=None
TEST=Compiles successfully and boots kernel on smaug

Change-Id: Ica44d377d9455bcef131c604efb68740354afa66
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/263357
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Trybot-Ready: Furquan Shaikh <furquan@chromium.org>
1 file changed