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

Subsystems: arm port, arm/vfp support, the rest

STALE5495d

2 messages, 2 authors, 2011-09-01 · open the first message on its own page

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

From: Santosh Shilimkar <hidden>
Date: 2011-08-27 16:47:20

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

Signed-off-by: Santosh Shilimkar <redacted>
cc: Russell King <redacted>
---
 arch/arm/vfp/vfpmodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index fe4b60b..0cbd5a0 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -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)
 {
-- 
1.7.4.1

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

From: Russell King - ARM Linux <hidden>
Date: 2011-09-01 10:17:34

On Sat, Aug 27, 2011 at 10:17:20PM +0530, Santosh Shilimkar wrote:
Function vfp_force_reload() clears vfp_current_hw_state, so
update the comment accordingly.
Ok.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help