blob: 0c82ba86e997d5d088b019daa677968fccdaf7e6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * S390 version
Heiko Carstensa53c8fa2012-07-20 11:15:04 +02003 * Copyright IBM Corp. 1999, 2000
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
5 * Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
6 *
7 * Derived from "include/asm-i386/hardirq.h"
8 */
9
10#ifndef __ASM_HARDIRQ_H
11#define __ASM_HARDIRQ_H
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#include <asm/lowcore.h>
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#define local_softirq_pending() (S390_lowcore.softirq_pending)
16
17#define __ARCH_IRQ_STAT
18#define __ARCH_HAS_DO_SOFTIRQ
Heiko Carstens22150112012-03-11 11:59:30 -040019#define __ARCH_IRQ_EXIT_IRQS_DISABLED
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21#define HARDIRQ_BITS 8
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#endif /* __ASM_HARDIRQ_H */