headers/deps: uts: Optimize <linux/utsname.h> dependencies, remove <linux/sched.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <linux/utsname.h> | LOC: 4,073 | headers: 122
after: | #include <linux/utsname.h> | LOC: 3,573 | headers: 98
Convert utsname() to a macro - this is a rarely used API used only in 38 .c files
out of 30,000+, and those files can include <linux/sched.h> explicitly.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 file changed