提交 fcdf7197 编写于 作者: Z Zhen Lei 提交者: Luis Chamberlain

scripts/kallsyms: rename build_initial_tok_table()

Except for the function build_initial_tok_table(), no token abbreviation
is used elsewhere.

$ cat scripts/kallsyms.c | grep tok | wc -l
33
$ cat scripts/kallsyms.c | grep token | wc -l
31

Here, it would be clearer to use the full name.
Signed-off-by: NZhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: NPetr Mladek <pmladek@suse.com>
Signed-off-by: NLuis Chamberlain <mcgrof@kernel.org>
上级 45af1d7a
...@@ -573,7 +573,7 @@ static void forget_symbol(const unsigned char *symbol, int len) ...@@ -573,7 +573,7 @@ static void forget_symbol(const unsigned char *symbol, int len)
} }
/* do the initial token count */ /* do the initial token count */
static void build_initial_tok_table(void) static void build_initial_token_table(void)
{ {
unsigned int i; unsigned int i;
...@@ -698,7 +698,7 @@ static void insert_real_symbols_in_table(void) ...@@ -698,7 +698,7 @@ static void insert_real_symbols_in_table(void)
static void optimize_token_table(void) static void optimize_token_table(void)
{ {
build_initial_tok_table(); build_initial_token_table();
insert_real_symbols_in_table(); insert_real_symbols_in_table();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册