This trivially enables sparse IRQ on cns3xxx by moving the nr_irqs definition from mach/irqs.h into the machine descriptor. These interrupts will still get statically assigned, so nothing changes here. Signed-off-by: Arnd Bergmann <arnd@arndb.de>tirimbino
parent
3f9fb2a08f
commit
2f72a682f7
@ -1,24 +0,0 @@ |
||||
/*
|
||||
* Copyright 2000 Deep Blue Solutions Ltd. |
||||
* Copyright 2003 ARM Limited |
||||
* Copyright 2008 Cavium Networks |
||||
* |
||||
* This file is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License, Version 2, as |
||||
* published by the Free Software Foundation. |
||||
*/ |
||||
|
||||
#ifndef __MACH_IRQS_H |
||||
#define __MACH_IRQS_H |
||||
|
||||
#define IRQ_LOCALTIMER 29 |
||||
#define IRQ_LOCALWDOG 30 |
||||
#define IRQ_TC11MP_GIC_START 32 |
||||
|
||||
#include <mach/cns3xxx.h> |
||||
|
||||
#ifndef NR_IRQS |
||||
#error "NR_IRQS not defined by the board-specific files" |
||||
#endif |
||||
|
||||
#endif |
Loading…
Reference in new issue