2 * include/asm-s390/hardirq.h
5 * Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
6 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
7 * Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
9 * Derived from "include/asm-i386/hardirq.h"
12 #ifndef __ASM_HARDIRQ_H
13 #define __ASM_HARDIRQ_H
15 #include <asm/lowcore.h>
17 #define local_softirq_pending() (S390_lowcore.softirq_pending)
19 #define __ARCH_IRQ_STAT
20 #define __ARCH_HAS_DO_SOFTIRQ
22 #define HARDIRQ_BITS 8
24 void clock_comparator_work(void);
26 static inline unsigned long long local_tick_disable(void)
28 unsigned long long old
;
30 old
= S390_lowcore
.clock_comparator
;
31 S390_lowcore
.clock_comparator
= -1ULL;
35 static inline void local_tick_enable(unsigned long long comp
)
37 S390_lowcore
.clock_comparator
= comp
;
40 #endif /* __ASM_HARDIRQ_H */