[PATCH] objtool: Fix ignore_func() description

From: Kamalesh Babulal
Date: Mon Oct 23 2017 - 03:50:52 EST


ignore_func() is limited to check if a symbol has been manually
whitelisted using STACK_FRAME_NON_STANDARD macro. Change the function
description accordingly.

Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
---
tools/objtool/check.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index c0e26ad1fa7e..2c67ca2645f5 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -81,8 +81,7 @@ static struct instruction *next_insn_same_sec(struct objtool_file *file,

/*
* Check if the function has been manually whitelisted with the
- * STACK_FRAME_NON_STANDARD macro, or if it should be automatically whitelisted
- * due to its use of a context switching instruction.
+ * STACK_FRAME_NON_STANDARD macro.
*/
static bool ignore_func(struct objtool_file *file, struct symbol *func)
{
--
2.7.4