diff options
author | Peter Zijlstra <[email protected]> | 2016-12-16 10:51:50 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-12-22 17:43:35 +0100 |
commit | cef4402d7627f14a08571e7c816b199edf8cc24b (patch) | |
tree | 18fc9d7d3bbe2a279dd231c38f94dcf2def28ece /drivers/clocksource/arm_arch_timer.c | |
parent | 8877ebdd3f9a3ffc84c4b67562d257c5f553bc49 (diff) |
x86/paravirt: Mark unused patch_default label
A bugfix commit:
45dbea5f55c0 ("x86/paravirt: Fix native_patch()")
... introduced a harmless warning:
arch/x86/kernel/paravirt_patch_32.c: In function 'native_patch':
arch/x86/kernel/paravirt_patch_32.c:71:1: error: label 'patch_default' defined but not used [-Werror=unused-label]
Fix it by annotating the label as __maybe_unused.
Reported-by: Arnd Bergmann <[email protected]>
Reported-by: Piotr Gregor <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: 45dbea5f55c0 ("x86/paravirt: Fix native_patch()")
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
0 files changed, 0 insertions, 0 deletions