]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/s390/include/asm/hardirq.h
atomic: move atomic_add_unless to generic code
[mirror_ubuntu-bionic-kernel.git] / arch / s390 / include / asm / hardirq.h
CommitLineData
1da177e4
LT
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
12#ifndef __ASM_HARDIRQ_H
13#define __ASM_HARDIRQ_H
14
1da177e4
LT
15#include <asm/lowcore.h>
16
1da177e4
LT
17#define local_softirq_pending() (S390_lowcore.softirq_pending)
18
19#define __ARCH_IRQ_STAT
20#define __ARCH_HAS_DO_SOFTIRQ
21
22#define HARDIRQ_BITS 8
23
1da177e4 24#endif /* __ASM_HARDIRQ_H */