aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2014-04-02 08:06:10 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-04-03 08:30:49 -0400
commit072c2790294210419db287995628406e270bf027 (patch)
treef87a3e2d256a81c8cac668b6bf682db37b7756cc /arch
parent9f0128f9e7bf7b2929540d395daf8d823dc30c9f (diff)
s390/irq: Add defines for external interruption codes
Introduce defines for external interruption codes so that we can get rid of some "magic" numbers in the s390 source code. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/irq.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/s390/include/asm/irq.h b/arch/s390/include/asm/irq.h
index 5f8bcc5fe423..58c1ea639452 100644
--- a/arch/s390/include/asm/irq.h
+++ b/arch/s390/include/asm/irq.h
@@ -16,6 +16,19 @@
16/* This number is used when no interrupt has been assigned */ 16/* This number is used when no interrupt has been assigned */
17#define NO_IRQ 0 17#define NO_IRQ 0
18 18
19/* External interruption codes */
20#define EXT_IRQ_INTERRUPT_KEY 0x0040
21#define EXT_IRQ_CLK_COMP 0x1004
22#define EXT_IRQ_CPU_TIMER 0x1005
23#define EXT_IRQ_WARNING_TRACK 0x1007
24#define EXT_IRQ_MALFUNC_ALERT 0x1200
25#define EXT_IRQ_EMERGENCY_SIG 0x1201
26#define EXT_IRQ_EXTERNAL_CALL 0x1202
27#define EXT_IRQ_TIMING_ALERT 0x1406
28#define EXT_IRQ_MEASURE_ALERT 0x1407
29#define EXT_IRQ_SERVICE_SIG 0x2401
30#define EXT_IRQ_IUCV 0x4000
31
19#ifndef __ASSEMBLY__ 32#ifndef __ASSEMBLY__
20 33
21#include <linux/hardirq.h> 34#include <linux/hardirq.h>