[SCSI] aic7xxx: fix MMIO for PPC 44x platforms
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-s390 / hardirq.h
blob4b7cb964ff353f35dd5e7bf87c6803ec57363d02
1 /*
2 * include/asm-s390/hardirq.h
4 * S390 version
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 <linux/threads.h>
16 #include <linux/sched.h>
17 #include <linux/cache.h>
18 #include <linux/interrupt.h>
19 #include <asm/lowcore.h>
21 /* irq_cpustat_t is unused currently, but could be converted
22 * into a percpu variable instead of storing softirq_pending
23 * on the lowcore */
24 typedef struct {
25 unsigned int __softirq_pending;
26 } irq_cpustat_t;
28 #define local_softirq_pending() (S390_lowcore.softirq_pending)
30 #define __ARCH_IRQ_STAT
31 #define __ARCH_HAS_DO_SOFTIRQ
33 #define HARDIRQ_BITS 8
35 void clock_comparator_work(void);
37 #endif /* __ASM_HARDIRQ_H */