Skip to content

Commit

Permalink
softirq/s390: Use the generic local_softirq_pending()
Browse files Browse the repository at this point in the history
Defined local_softirq_pending_ref macro and get rid of {local, set, or}
_softirq_pending macros. use {local, set, or}_softirq_pending
in <linux/interrupt.h> that rely on per-CPU mutators.

Signed-off-by: Yejune Deng <yejunedeng@gmail.com>
  • Loading branch information
YajunDeng authored and intel-lab-lkp committed May 24, 2021
1 parent b208108 commit f1a79ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/s390/include/asm/hardirq.h
Expand Up @@ -13,9 +13,7 @@

#include <asm/lowcore.h>

#define local_softirq_pending() (S390_lowcore.softirq_pending)
#define set_softirq_pending(x) (S390_lowcore.softirq_pending = (x))
#define or_softirq_pending(x) (S390_lowcore.softirq_pending |= (x))
#define local_softirq_pending_ref S390_lowcore.softirq_pending

#define __ARCH_IRQ_STAT
#define __ARCH_IRQ_EXIT_IRQS_DISABLED
Expand Down

0 comments on commit f1a79ef

Please sign in to comment.