hardirq.h 965 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * include/asm-s390/hardirq.h
  3. *
  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)
  8. *
  9. * Derived from "include/asm-i386/hardirq.h"
  10. */
  11. #ifndef __ASM_HARDIRQ_H
  12. #define __ASM_HARDIRQ_H
  13. #include <linux/config.h>
  14. #include <linux/threads.h>
  15. #include <linux/sched.h>
  16. #include <linux/cache.h>
  17. #include <linux/interrupt.h>
  18. #include <asm/lowcore.h>
  19. /* irq_cpustat_t is unused currently, but could be converted
  20. * into a percpu variable instead of storing softirq_pending
  21. * on the lowcore */
  22. typedef struct {
  23. unsigned int __softirq_pending;
  24. } irq_cpustat_t;
  25. #define local_softirq_pending() (S390_lowcore.softirq_pending)
  26. #define __ARCH_IRQ_STAT
  27. #define __ARCH_HAS_DO_SOFTIRQ
  28. #define HARDIRQ_BITS 8
  29. extern void account_ticks(struct pt_regs *);
  30. #endif /* __ASM_HARDIRQ_H */