mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
x86: Fix Sparse warnings about non-static functions
Functions x86_vector_debug_show(), uv_handle_nmi() and uv_nmi_setup_common() are local to the source and do not need to be in global scope, so make them static. Fixes up various sparse warnings. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Mike Travis <mike.travis@hpe.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Jiri Kosina <trivial@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Russ Anderson <russ.anderson@hpe.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: kernel-janitors@vger.kernel.org Cc: travis@sgi.com Link: http://lkml.kernel.org/r/20171206173358.24388-1-colin.king@canonical.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
5b06bbcfc2
commit
d553d03f70
2 changed files with 4 additions and 4 deletions
|
@ -542,8 +542,8 @@ error:
|
|||
}
|
||||
|
||||
#ifdef CONFIG_GENERIC_IRQ_DEBUGFS
|
||||
void x86_vector_debug_show(struct seq_file *m, struct irq_domain *d,
|
||||
struct irq_data *irqd, int ind)
|
||||
static void x86_vector_debug_show(struct seq_file *m, struct irq_domain *d,
|
||||
struct irq_data *irqd, int ind)
|
||||
{
|
||||
unsigned int cpu, vector, prev_cpu, prev_vector;
|
||||
struct apic_chip_data *apicd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue