diff options
author | Yury Usishchev <y.usishchev@samsung.com> | 2015-10-29 13:22:30 +0300 |
---|---|---|
committer | Dongkyun, Son <dongkyun.s@samsung.com> | 2016-01-09 19:45:52 +0900 |
commit | 92c04973f3de2ef8e7e649667a54b4dff95dea91 (patch) | |
tree | a7f94b5624366b612411256b35f61bae56ed309d | |
parent | 1727172af2523b5e48b5a74a23b7d293ed7ac56a (diff) | |
download | linux-arm64-accepted/tizen_common.tar.gz linux-arm64-accepted/tizen_common.tar.bz2 linux-arm64-accepted/tizen_common.zip |
do not instrument hvc and smc functionssubmit/tizen_ivi/20160217.000004submit/tizen_ivi/20160217.000000submit/tizen_common/20160216.131618submit/tizen_Common/20160216.131028submit/tizen/20160118.065818accepted/tizen/wearable/20160120.082638accepted/tizen/tv/20160120.082611accepted/tizen/mobile/20160120.082553accepted/tizen/ivi/20160218.024459accepted/tizen/common/20160216.135458accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_common
Change-Id: If95b79f560122df83a67cc770be0a4b4522d619f
-rw-r--r-- | arch/arm64/kernel/psci.c | 4 |
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( |