linux_dsm_epyc7002/tools/lib/lockdep
Ben Hutchings 1baa75406e tools/lib/lockdep: Fix 'defined but not used' warning for init_utsname()
We define init_utsname() as static but not inline, resulting
in a warning for every source file that includes lockdep.h but
doesn't call it.

Since it is only used by lockdep.c, define it in there.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/r/20170525130005.5947-8-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-06-05 09:28:06 +02:00
..
include/liblockdep locking/lockdep: Eliminate lockdep_init() 2016-02-09 12:03:25 +01:00
tests tools/lib/lockdep: Add tests for AA and ABBA locking 2016-02-29 10:29:33 +01:00
uinclude tools/lib/lockdep: Fix 'defined but not used' warning for init_utsname() 2017-06-05 09:28:06 +02:00
.gitignore tools/liblockdep: ignore generated .so file 2015-01-29 21:55:19 -05:00
Build tools lib lockdep: Use tools build framework 2015-02-12 17:56:01 -03:00
common.c locking/lockdep: Eliminate lockdep_init() 2016-02-09 12:03:25 +01:00
lockdep liblockdep: Add the 'lockdep' user-space utility 2013-11-27 11:56:25 +01:00
lockdep_internals.h liblockdep: Wrap kernel/locking/lockdep.c to allow usage from userspace 2013-11-27 11:55:21 +01:00
lockdep_states.h liblockdep: Wrap kernel/locking/lockdep.c to allow usage from userspace 2013-11-27 11:55:21 +01:00
lockdep.c tools/lib/lockdep: Fix 'defined but not used' warning for init_utsname() 2017-06-05 09:28:06 +02:00
Makefile tools/lib/lockdep: Enable -Wall by default 2017-06-05 09:28:04 +02:00
preload.c locking/lockdep: Eliminate lockdep_init() 2016-02-09 12:03:25 +01:00
rbtree.c liblockdep: Wrap kernel/locking/lockdep.c to allow usage from userspace 2013-11-27 11:55:21 +01:00
run_tests.sh tools/lib/lockdep: Fix unsupported 'basename -s' in run_tests.sh 2016-03-30 12:45:56 +02:00