diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2016-01-16 03:58:41 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-16 22:17:26 +0300 |
commit | 1c7a8e622e84c9164dd665f5ad4879eac71bdc1e (patch) | |
tree | b7c545e5d1b6ae370bd243bc5481e50aaf0c030f /lib/test_rhashtable.c | |
parent | d048419311ff16ba420f4b1bdf93a3d74057b53a (diff) | |
download | linux-1c7a8e622e84c9164dd665f5ad4879eac71bdc1e.tar.xz |
lib/vsprintf.c: help gcc make number() smaller
One consequence of the reorganization of struct printf_spec to make
field_width 24 bits was that number() gained about 180 bytes. Since
spec is never passed to other functions, we can help gcc make number()
lose most of that extra weight by using local variables for the field
width and precision.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Maurizio Lombardi <mlombard@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_rhashtable.c')
0 files changed, 0 insertions, 0 deletions