mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 05:56:46 +07:00
81265fd93b
Fix following sparse warnings: symbol 'static_irqaction' was not declared. Should it be static? symbol 'static_irq_count' was not declared. Should it be static? symbol 'irq_action_lock' was not declared. Should it be static? symbol 'unexpected_irq' was not declared. Should it be static? symbol 'handler_irq' was not declared. Should it be static? returning void-valued expression returning void-valued expression returning void-valued expression symbol 'init_IRQ' was not declared. Should it be static? Warnings were fixed by addding proper declarations and fixing return path of a few functions. There remains several warnings all related to the floppy driver. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
17 lines
287 B
C
17 lines
287 B
C
/* irq.h: IRQ registers on the Sparc.
|
|
*
|
|
* Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
|
|
*/
|
|
|
|
#ifndef _SPARC_IRQ_H
|
|
#define _SPARC_IRQ_H
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#define NR_IRQS 16
|
|
|
|
#define irq_canonicalize(irq) (irq)
|
|
|
|
extern void __init init_IRQ(void);
|
|
#endif
|