lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1621859957-4880-1-git-send-email-yejunedeng@gmail.com>
Date:   Mon, 24 May 2021 20:39:17 +0800
From:   Yejune Deng <yejune.deng@...il.com>
To:     hca@...ux.ibm.com, gor@...ux.ibm.com, borntraeger@...ibm.com,
        tglx@...utronix.de, keescook@...omium.org
Cc:     linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
        Yejune Deng <yejunedeng@...il.com>
Subject: [PATCH] softirq/s390: Use the generic local_softirq_pending()

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@...il.com>
---
 arch/s390/include/asm/hardirq.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/s390/include/asm/hardirq.h b/arch/s390/include/asm/hardirq.h
index 58668ff..ea643d6 100644
--- a/arch/s390/include/asm/hardirq.h
+++ b/arch/s390/include/asm/hardirq.h
@@ -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
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ