summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2015-10-29 13:22:30 +0300
committerDongkyun, Son <dongkyun.s@samsung.com>2016-01-09 19:45:52 +0900
commit92c04973f3de2ef8e7e649667a54b4dff95dea91 (patch)
treea7f94b5624366b612411256b35f61bae56ed309d
parent1727172af2523b5e48b5a74a23b7d293ed7ac56a (diff)
downloadlinux-arm64-accepted/tizen_mobile.tar.gz
linux-arm64-accepted/tizen_mobile.tar.bz2
linux-arm64-accepted/tizen_mobile.zip
Change-Id: If95b79f560122df83a67cc770be0a4b4522d619f
-rw-r--r--arch/arm64/kernel/psci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/psci.c b/arch/arm64/kernel/psci.c
index 51439b38bfe..b57679ac219 100644
--- a/arch/arm64/kernel/psci.c
+++ b/arch/arm64/kernel/psci.c
@@ -118,7 +118,7 @@ static void psci_power_state_unpack(u32 power_state,
* The following two functions are invoked via the invoke_psci_fn pointer
* and will not be inlined, allowing us to piggyback on the AAPCS.
*/
-static noinline int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1,
+__attribute__((no_instrument_function)) static noinline int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1,
u64 arg2)
{
asm volatile(
@@ -133,7 +133,7 @@ static noinline int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1,
return function_id;
}
-static noinline int __invoke_psci_fn_smc(u64 function_id, u64 arg0, u64 arg1,
+__attribute__((no_instrument_function)) static noinline int __invoke_psci_fn_smc(u64 function_id, u64 arg0, u64 arg1,
u64 arg2)
{
asm volatile(