mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
sparse irqs: handle !GENIRQ platforms
Impact: build fix fix: In file included from /home/mingo/tip/arch/m68k/amiga/amiints.c:39: /home/mingo/tip/include/linux/interrupt.h:21: error: expected identifier or '(' /home/mingo/tip/arch/m68k/amiga/amiints.c: In function 'amiga_init_IRQ': Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
8a4830f889
commit
0ebb26e7a4
3 changed files with 13 additions and 4 deletions
|
@ -8,6 +8,7 @@
|
|||
#define _LINUX_RANDOM_H
|
||||
|
||||
#include <linux/ioctl.h>
|
||||
#include <linux/irqnr.h>
|
||||
|
||||
/* ioctl()'s for the random number generator */
|
||||
|
||||
|
@ -49,7 +50,6 @@ struct timer_rand_state;
|
|||
|
||||
extern struct timer_rand_state *irq_timer_state[];
|
||||
|
||||
extern int nr_irqs;
|
||||
static inline struct timer_rand_state *get_timer_rand_state(unsigned int irq)
|
||||
{
|
||||
if (irq >= nr_irqs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue