Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56f87713 authored by Michael Hennerich's avatar Michael Hennerich Committed by Bryan Wu
Browse files

[Blackfin] arch: remove useless IRQ_SW_INT defines



IRQ_SW_INT1 and IRQ_SW_INT2 obsolete:
Remove useless defines
Fix SYS_IRQS
Keep numbering scheme, so we don't break existing configurations.

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent e4f7c0bf
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -66,11 +66,12 @@ Core Emulation **
	    DMA8/9 Interrupt	    IVG13	28
	    DMA10/11 Interrupt	    IVG13	29
	    Watchdog Timer	    IVG13	30
            Software Interrupt 1    IVG14       31
            Software Interrupt 2    --

            Softirq		    IVG14       31
            System Call    --
                 (lowest priority)  IVG15       32 *
 */
#define SYS_IRQS		32
#define SYS_IRQS	31
#define NR_PERI_INTS	24

/* The ABSTRACT IRQ definitions */
@@ -108,9 +109,6 @@ Core Emulation **
#define	IRQ_MEM_DMA1		29	/*DMA10/11 Interrupt (Memory DMA Stream 1) */
#define	IRQ_WATCH	   	30	/*Watch Dog Timer */

#define	IRQ_SW_INT1		31	/*Software Int 1 */
#define	IRQ_SW_INT2		32	/*Software Int 2 (reserved for SYSCALL) */

#define IRQ_PF0			33
#define IRQ_PF1			34
#define IRQ_PF2			35
+16 −19
Original line number Diff line number Diff line
@@ -34,24 +34,23 @@

/*
 * Interrupt source definitions
             Event Source    Core Event Name
Core        Emulation               **
 Events         (highest priority)  EMU         0
            Reset                   RST         1
            NMI                     NMI         2
            Exception               EVX         3
            Reserved                --          4
            Hardware Error          IVHW        5
            Core Timer              IVTMR       6 *

.....

            Software Interrupt 1    IVG14       31
            Software Interrupt 2    --
                 (lowest priority)  IVG15       32 *
 *            Event Source    Core Event Name
 * Core       Emulation               **
 * Events         (highest priority)  EMU         0
 *            Reset                   RST         1
 *            NMI                     NMI         2
 *            Exception               EVX         3
 *            Reserved                --          4
 *            Hardware Error          IVHW        5
 *            Core Timer              IVTMR       6
 *  .....
 *
 *            Softirq		      IVG14
 *            System Call    --
 *               (lowest priority)    IVG15
 */

#define SYS_IRQS        41
#define SYS_IRQS        39
#define NR_PERI_INTS    32

/* The ABSTRACT IRQ definitions */
@@ -97,8 +96,6 @@ Core Emulation **
#define IRQ_MEM_DMA1        37	/*(Memory DMA Stream 1) */
#define IRQ_PROG_INTB	      38	/* PF Ports F (PF15:0) Interrupt B */
#define IRQ_WATCH           38	/*Watch Dog Timer */
#define IRQ_SW_INT1         40	/*Software Int 1 */
#define IRQ_SW_INT2         41	/*Software Int 2 (reserved for SYSCALL) */

#define IRQ_PPI_ERROR       42	/*PPI Error Interrupt */
#define IRQ_CAN_ERROR       43	/*CAN Error Interrupt */
+6 −7
Original line number Diff line number Diff line
@@ -118,12 +118,13 @@
	    Supplemental interrupt 0		IVG7	    69
	    supplemental interrupt 1		IVG7	    70

            Software Interrupt 1		IVG14       71
            Software Interrupt 2		IVG15       72 *
						(lowest priority)
            Softirq		    		IVG14
            System Call    --
                 (lowest priority)  		IVG15

 **********************************************************************/

#define SYS_IRQS		72
#define SYS_IRQS		71
#define NR_PERI_INTS		64

/*
@@ -237,9 +238,7 @@
#define IRQ_RESERVED_2		(IVG_BASE + 61)	/* Reserved interrupt       */
#define IRQ_SUPPLE_0		(IVG_BASE + 62)	/* Supplemental interrupt 0 */
#define IRQ_SUPPLE_1		(IVG_BASE + 63)	/* supplemental interrupt 1 */
#define	IRQ_SW_INT1		71	/* Software Interrupt 1     */
#define	IRQ_SW_INT2		72	/* Software Interrupt 2     */
						/* reserved for SYSCALL */

#define IRQ_PF0			73
#define IRQ_PF1			74
#define IRQ_PF2			75