[for,4.9,81/98] ARM: smccc: Update HVC comment to describe new quirk parameter

Message ID 20170404193158.19041-82-alexander.levin@verizon.com
State New
Headers show
  • Untitled series #1022
Related show

Commit Message

Levin, Alexander (Sasha Levin) April 4, 2017, 7:32 p.m.
From: Will Deacon <will.deacon@arm.com>

[ Upstream commit 3046ec674d441562c6bb3e4284cd866743042ef3 ]

Commit 680a0873e193 ("arm: kernel: Add SMC structure parameter") added
a new "quirk" parameter to the SMC and HVC SMCCC backends, but only
updated the comment for the SMC version. This patch adds the new
paramater to the comment describing the HVC version too.

Signed-off-by: Will Deacon <will.deacon@arm.com>

Signed-off-by: Sasha Levin <alexander.levin@verizon.com>

 include/linux/arm-smccc.h | 1 +
 1 file changed, 1 insertion(+)



diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h
index b679341..4c5bca38 100644
--- a/include/linux/arm-smccc.h
+++ b/include/linux/arm-smccc.h
@@ -109,6 +109,7 @@  asmlinkage void __arm_smccc_smc(unsigned long a0, unsigned long a1,
  * __arm_smccc_hvc() - make HVC calls
  * @a0-a7: arguments passed in registers 0 to 7
  * @res: result values from registers 0 to 3
+ * @quirk: points to an arm_smccc_quirk, or NULL when no quirks are required.
  * This function is used to make HVC calls following SMC Calling
  * Convention.  The content of the supplied param are copied to registers 0