diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2016-10-21 10:44:49 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-10-21 11:09:14 +0200 |
commit | d2d9c4a3d01c20f936f88e0c2793945e6632dab6 (patch) | |
tree | 40acdd6ea04070b641ea827b9866f8ac6bf79396 /lib/test-string_helpers.c | |
parent | 6f33d6458e35d6ba53c2635ee4b8a3177cbd912d (diff) |
x86/apic: Get rid of "warning: 'acpi_ioapic_lock' defined but not used"
kbuild test robot reported this against the -RT tree:
|>> arch/x86/kernel/acpi/boot.c:90:21: warning: 'acpi_ioapic_lock' defined but not used [-Wunused-variable]
| static DEFINE_MUTEX(acpi_ioapic_lock);
| ^
| include/linux/mutex_rt.h:27:15: note: in definition of macro 'DEFINE_MUTEX'
| struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
^~~~~~~~~
which is also true (as in non-used) for !RT but the compiler does not
emit a warning.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions