Skip to contentSkip to conversation

ARM: vfp: Fix the comment to make it consistent with the code.

PATCH New Santosh Shilimkar 2 participants 2 messages Aug 27, 2011 – Sep 1, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: vfp: Fix the comment to make it consistent with the code.

Function vfp_force_reload() clears vfp_current_hw_state, so update the comment accordingly.

---
 arch/arm/vfp/vfpmodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/vfp/vfpmodule.c +1 -1
index fe4b60b..0cbd5a0 100644
@@ -69,7 +69,7 @@ static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread)
 /*
  * Force a reload of the VFP context from the thread structure.  We do
  * this by ensuring that access to the VFP hardware is disabled, and
- * clear last_VFP_context.  Must be called from non-preemptible context.
+ * clear vfp_current_hw_state.  Must be called from non-preemptible context.
  */
 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread)
 {
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 ARM: vfp: Fix the comment to make it consistent with the code.

Quoted 2 lines · Santosh Shilimkar

Function vfp_force_reload() clears vfp_current_hw_state, so update the comment accordingly.

Ok.