diff options
author | 2018-08-21 21:54:41 -0700 | |
---|---|---|
committer | 2018-08-22 10:52:46 -0700 | |
commit | 9a27e97aaab9a25fac2e8976e98e42ab7f4a8fac (patch) | |
tree | 19f23fed7208305cd77bf96190aecb18e1f8c715 /fs/proc/kcore.c | |
parent | proc: spread "const" a bit (diff) | |
download | wireguard-linux-9a27e97aaab9a25fac2e8976e98e42ab7f4a8fac.tar.xz wireguard-linux-9a27e97aaab9a25fac2e8976e98e42ab7f4a8fac.zip |
proc: use "unsigned int" in /proc/stat hook
Number of CPUs is never high enough to force 64-bit arithmetic.
Save couple of bytes on x86_64.
Link: http://lkml.kernel.org/r/20180627200710.GC18434@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/kcore.c')
0 files changed, 0 insertions, 0 deletions