diff options
| -rw-r--r-- | include/linux/kernel.h | 2 | ||||
| -rw-r--r-- | tools/objtool/check.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index d23123238534..941dc0a5a877 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
| @@ -666,7 +666,7 @@ do { \ | |||
| 666 | * your code. (Extra memory is used for special buffers that are | 666 | * your code. (Extra memory is used for special buffers that are |
| 667 | * allocated when trace_printk() is used.) | 667 | * allocated when trace_printk() is used.) |
| 668 | * | 668 | * |
| 669 | * A little optization trick is done here. If there's only one | 669 | * A little optimization trick is done here. If there's only one |
| 670 | * argument, there's no need to scan the string for printf formats. | 670 | * argument, there's no need to scan the string for printf formats. |
| 671 | * The trace_puts() will suffice. But how can we take advantage of | 671 | * The trace_puts() will suffice. But how can we take advantage of |
| 672 | * using trace_puts() when trace_printk() has only one argument? | 672 | * using trace_puts() when trace_printk() has only one argument? |
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 38047c6aa575..f4a25bd1871f 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c | |||
| @@ -164,6 +164,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func, | |||
| 164 | "lbug_with_loc", | 164 | "lbug_with_loc", |
| 165 | "fortify_panic", | 165 | "fortify_panic", |
| 166 | "usercopy_abort", | 166 | "usercopy_abort", |
| 167 | "machine_real_restart", | ||
| 167 | }; | 168 | }; |
| 168 | 169 | ||
| 169 | if (func->bind == STB_WEAK) | 170 | if (func->bind == STB_WEAK) |
