diff for duplicates of <20211022120058.1031690-1-arnd@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 12af57b..dbb746a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -125,8 +125,8 @@ index fa5ee8a45dbd..a6e5d66a7656 100644 - volatile unsigned int *a; - - a = __ldcw_align(x); -- while (__ldcw(a) = 0) -- while (*a = 0) +- while (__ldcw(a) == 0) +- while (*a == 0) - if (flags & PSW_SM_I) { - local_irq_enable(); - local_irq_disable(); @@ -151,7 +151,7 @@ index 8985791a2ba5..7ae6aeef8464 100644 - unsigned long flags_dis; - - while (1) { -- if (likely(__arch_spin_trylock(lock) = 0)) +- if (likely(__arch_spin_trylock(lock) == 0)) - break; - local_save_flags(flags_dis); - local_irq_restore(flags); diff --git a/a/content_digest b/N1/content_digest index b83453b..e0610bf 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Arnd Bergmann <arnd@kernel.org>\0" "Subject\0[PATCH] locking: remove spin_lock_flags() etc\0" - "Date\0Fri, 22 Oct 2021 11:59:38 +0000\0" + "Date\0Fri, 22 Oct 2021 13:59:38 +0200\0" "To\0Peter Zijlstra <peterz@infradead.org>" Ingo Molnar <mingo@redhat.com> " Will Deacon <will@kernel.org>\0" @@ -154,8 +154,8 @@ "-\tvolatile unsigned int *a;\n" "-\n" "-\ta = __ldcw_align(x);\n" - "-\twhile (__ldcw(a) = 0)\n" - "-\t\twhile (*a = 0)\n" + "-\twhile (__ldcw(a) == 0)\n" + "-\t\twhile (*a == 0)\n" "-\t\t\tif (flags & PSW_SM_I) {\n" "-\t\t\t\tlocal_irq_enable();\n" "-\t\t\t\tlocal_irq_disable();\n" @@ -180,7 +180,7 @@ "-\tunsigned long flags_dis;\n" "-\n" "-\twhile (1) {\n" - "-\t\tif (likely(__arch_spin_trylock(lock) = 0))\n" + "-\t\tif (likely(__arch_spin_trylock(lock) == 0))\n" "-\t\t\tbreak;\n" "-\t\tlocal_save_flags(flags_dis);\n" "-\t\tlocal_irq_restore(flags);\n" @@ -386,4 +386,4 @@ "-- \n" 2.29.2 -2961257dde45f73966409e6b3754dbd2204d76b7da10042bd2fc2ee34a2539d4 +a89b470f731a3b3b8e9057d5e9c7e85020551393199d87eceed704d00f2bce73
diff --git a/a/1.txt b/N2/1.txt index 12af57b..dbb746a 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -125,8 +125,8 @@ index fa5ee8a45dbd..a6e5d66a7656 100644 - volatile unsigned int *a; - - a = __ldcw_align(x); -- while (__ldcw(a) = 0) -- while (*a = 0) +- while (__ldcw(a) == 0) +- while (*a == 0) - if (flags & PSW_SM_I) { - local_irq_enable(); - local_irq_disable(); @@ -151,7 +151,7 @@ index 8985791a2ba5..7ae6aeef8464 100644 - unsigned long flags_dis; - - while (1) { -- if (likely(__arch_spin_trylock(lock) = 0)) +- if (likely(__arch_spin_trylock(lock) == 0)) - break; - local_save_flags(flags_dis); - local_irq_restore(flags); diff --git a/a/content_digest b/N2/content_digest index b83453b..3e93123 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,30 +1,7 @@ "From\0Arnd Bergmann <arnd@kernel.org>\0" - "Subject\0[PATCH] locking: remove spin_lock_flags() etc\0" - "Date\0Fri, 22 Oct 2021 11:59:38 +0000\0" - "To\0Peter Zijlstra <peterz@infradead.org>" - Ingo Molnar <mingo@redhat.com> - " Will Deacon <will@kernel.org>\0" - "Cc\0Arnd Bergmann <arnd@arndb.de>" - Waiman Long <longman@redhat.com> - Boqun Feng <boqun.feng@gmail.com> - Jonas Bonn <jonas@southpole.se> - Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> - Stafford Horne <shorne@gmail.com> - James E.J. Bottomley <James.Bottomley@hansenpartnership.com> - Helge Deller <deller@gmx.de> - Michael Ellerman <mpe@ellerman.id.au> - Benjamin Herrenschmidt <benh@kernel.crashing.org> - Paul Mackerras <paulus@samba.org> - Heiko Carstens <hca@linux.ibm.com> - Vasily Gorbik <gor@linux.ibm.com> - Christian Borntraeger <borntraeger@de.ibm.com> - Alexander Gordeev <agordeev@linux.ibm.com> - linux-kernel@vger.kernel.org - linux-ia64@vger.kernel.org - openrisc@lists.librecores.org - linux-parisc@vger.kernel.org - linuxppc-dev@lists.ozlabs.org - " linux-s390@vger.kernel.org\0" + "Subject\0[OpenRISC] [PATCH] locking: remove spin_lock_flags() etc\0" + "Date\0Fri, 22 Oct 2021 13:59:38 +0200\0" + "To\0openrisc@lists.librecores.org\0" "\00:1\0" "b\0" "From: Arnd Bergmann <arnd@arndb.de>\n" @@ -154,8 +131,8 @@ "-\tvolatile unsigned int *a;\n" "-\n" "-\ta = __ldcw_align(x);\n" - "-\twhile (__ldcw(a) = 0)\n" - "-\t\twhile (*a = 0)\n" + "-\twhile (__ldcw(a) == 0)\n" + "-\t\twhile (*a == 0)\n" "-\t\t\tif (flags & PSW_SM_I) {\n" "-\t\t\t\tlocal_irq_enable();\n" "-\t\t\t\tlocal_irq_disable();\n" @@ -180,7 +157,7 @@ "-\tunsigned long flags_dis;\n" "-\n" "-\twhile (1) {\n" - "-\t\tif (likely(__arch_spin_trylock(lock) = 0))\n" + "-\t\tif (likely(__arch_spin_trylock(lock) == 0))\n" "-\t\t\tbreak;\n" "-\t\tlocal_save_flags(flags_dis);\n" "-\t\tlocal_irq_restore(flags);\n" @@ -386,4 +363,4 @@ "-- \n" 2.29.2 -2961257dde45f73966409e6b3754dbd2204d76b7da10042bd2fc2ee34a2539d4 +00c0e14c71bbcef7d8fd44d8a08fc66b903edda1b52d3c84308f918d442483aa
diff --git a/a/1.txt b/N3/1.txt index 12af57b..dbb746a 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -125,8 +125,8 @@ index fa5ee8a45dbd..a6e5d66a7656 100644 - volatile unsigned int *a; - - a = __ldcw_align(x); -- while (__ldcw(a) = 0) -- while (*a = 0) +- while (__ldcw(a) == 0) +- while (*a == 0) - if (flags & PSW_SM_I) { - local_irq_enable(); - local_irq_disable(); @@ -151,7 +151,7 @@ index 8985791a2ba5..7ae6aeef8464 100644 - unsigned long flags_dis; - - while (1) { -- if (likely(__arch_spin_trylock(lock) = 0)) +- if (likely(__arch_spin_trylock(lock) == 0)) - break; - local_save_flags(flags_dis); - local_irq_restore(flags); diff --git a/a/content_digest b/N3/content_digest index b83453b..ac02b1d 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,30 +1,28 @@ "From\0Arnd Bergmann <arnd@kernel.org>\0" "Subject\0[PATCH] locking: remove spin_lock_flags() etc\0" - "Date\0Fri, 22 Oct 2021 11:59:38 +0000\0" + "Date\0Fri, 22 Oct 2021 13:59:38 +0200\0" "To\0Peter Zijlstra <peterz@infradead.org>" Ingo Molnar <mingo@redhat.com> " Will Deacon <will@kernel.org>\0" - "Cc\0Arnd Bergmann <arnd@arndb.de>" - Waiman Long <longman@redhat.com> + "Cc\0Jonas Bonn <jonas@southpole.se>" + linux-s390@vger.kernel.org + Alexander Gordeev <agordeev@linux.ibm.com> + linux-ia64@vger.kernel.org + Vasily Gorbik <gor@linux.ibm.com> + Arnd Bergmann <arnd@arndb.de> Boqun Feng <boqun.feng@gmail.com> - Jonas Bonn <jonas@southpole.se> + linux-kernel@vger.kernel.org Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> - Stafford Horne <shorne@gmail.com> James E.J. Bottomley <James.Bottomley@hansenpartnership.com> - Helge Deller <deller@gmx.de> - Michael Ellerman <mpe@ellerman.id.au> - Benjamin Herrenschmidt <benh@kernel.crashing.org> - Paul Mackerras <paulus@samba.org> - Heiko Carstens <hca@linux.ibm.com> - Vasily Gorbik <gor@linux.ibm.com> Christian Borntraeger <borntraeger@de.ibm.com> - Alexander Gordeev <agordeev@linux.ibm.com> - linux-kernel@vger.kernel.org - linux-ia64@vger.kernel.org openrisc@lists.librecores.org + Paul Mackerras <paulus@samba.org> linux-parisc@vger.kernel.org + Waiman Long <longman@redhat.com> + Stafford Horne <shorne@gmail.com> linuxppc-dev@lists.ozlabs.org - " linux-s390@vger.kernel.org\0" + Helge Deller <deller@gmx.de> + " Heiko Carstens <hca@linux.ibm.com>\0" "\00:1\0" "b\0" "From: Arnd Bergmann <arnd@arndb.de>\n" @@ -154,8 +152,8 @@ "-\tvolatile unsigned int *a;\n" "-\n" "-\ta = __ldcw_align(x);\n" - "-\twhile (__ldcw(a) = 0)\n" - "-\t\twhile (*a = 0)\n" + "-\twhile (__ldcw(a) == 0)\n" + "-\t\twhile (*a == 0)\n" "-\t\t\tif (flags & PSW_SM_I) {\n" "-\t\t\t\tlocal_irq_enable();\n" "-\t\t\t\tlocal_irq_disable();\n" @@ -180,7 +178,7 @@ "-\tunsigned long flags_dis;\n" "-\n" "-\twhile (1) {\n" - "-\t\tif (likely(__arch_spin_trylock(lock) = 0))\n" + "-\t\tif (likely(__arch_spin_trylock(lock) == 0))\n" "-\t\t\tbreak;\n" "-\t\tlocal_save_flags(flags_dis);\n" "-\t\tlocal_irq_restore(flags);\n" @@ -386,4 +384,4 @@ "-- \n" 2.29.2 -2961257dde45f73966409e6b3754dbd2204d76b7da10042bd2fc2ee34a2539d4 +d413197c2c33439771366fa9d2a9a100f5d68403bca88d6ffd2f3e164622646b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.