diff options
author | Andy Gross <andy.gross@linaro.org> | 2017-02-01 11:28:27 -0600 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-02-03 18:46:33 +0000 |
commit | 680a0873e193bae666439f4b5e32c758e68f114c (patch) | |
tree | 80a27e6026c6f618cb122690e199a56711e49cb6 /arch/arm64/kernel/arm64ksyms.c | |
parent | 757b435aaabe5e76fc8c85f767061c70a98c0218 (diff) | |
download | linux-stable-680a0873e193bae666439f4b5e32c758e68f114c.tar.gz linux-stable-680a0873e193bae666439f4b5e32c758e68f114c.tar.bz2 linux-stable-680a0873e193bae666439f4b5e32c758e68f114c.zip |
arm: kernel: Add SMC structure parameter
This patch adds a quirk parameter to the arm_smccc_(smc/hvc) calls.
The quirk structure allows for specialized SMC operations due to SoC
specific requirements. The current arm_smccc_(smc/hvc) is renamed and
macros are used instead to specify the standard arm_smccc_(smc/hvc) or
the arm_smccc_(smc/hvc)_quirk function.
This patch and partial implementation was suggested by Will Deacon.
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/arm64ksyms.c')
-rw-r--r-- | arch/arm64/kernel/arm64ksyms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c index 78f368039c79..e9c4dc9e0ada 100644 --- a/arch/arm64/kernel/arm64ksyms.c +++ b/arch/arm64/kernel/arm64ksyms.c @@ -73,5 +73,5 @@ NOKPROBE_SYMBOL(_mcount); #endif /* arm-smccc */ -EXPORT_SYMBOL(arm_smccc_smc); -EXPORT_SYMBOL(arm_smccc_hvc); +EXPORT_SYMBOL(__arm_smccc_smc); +EXPORT_SYMBOL(__arm_smccc_hvc); |