diff for duplicates of <200611211114.46305.arnd@arndb.de> diff --git a/a/1.txt b/N1/1.txt index 7385074..1eb2fc2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,14 +1,12 @@ On Tuesday 21 November 2006 01:53, Benjamin Herrenschmidt wrote: > + -> +=A0=A0=A0=A0=A0=A0=A0/* -> +=A0=A0=A0=A0=A0=A0=A0 * We need to hard disable interrupts, but we also = -need to mark them -> +=A0=A0=A0=A0=A0=A0=A0 * hard disabled in the PACA so that the local_irq_= -enable() done by -> +=A0=A0=A0=A0=A0=A0=A0 * our caller upon return propertly hard enables. -> +=A0=A0=A0=A0=A0=A0=A0 */ -> +=A0=A0=A0=A0=A0=A0=A0hard_irq_disable(); -> +=A0=A0=A0=A0=A0=A0=A0get_paca()->hard_enabled =3D 0; +> + /* +> + * We need to hard disable interrupts, but we also need to mark them +> + * hard disabled in the PACA so that the local_irq_enable() done by +> + * our caller upon return propertly hard enables. +> + */ +> + hard_irq_disable(); +> + get_paca()->hard_enabled = 0; > + Yes, this looks good. Paul, please use this patch instead of mine. diff --git a/a/content_digest b/N1/content_digest index 323c85a..883f98c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,23 +5,21 @@ "Subject\0Re: [PATCH 01/22] powerpc: convert idle_loop to use hard_irq_disable()\0" "Date\0Tue, 21 Nov 2006 11:14:45 +0100\0" "To\0Benjamin Herrenschmidt <benh@kernel.crashing.org>\0" - "Cc\0linuxppc-dev@ozlabs.org" + "Cc\0cbe-oss-dev@ozlabs.org" + linuxppc-dev@ozlabs.org Paul Mackerras <paulus@samba.org> - cbe-oss-dev@ozlabs.org " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" "On Tuesday 21 November 2006 01:53, Benjamin Herrenschmidt wrote:\n" "> +\n" - "> +=A0=A0=A0=A0=A0=A0=A0/*\n" - "> +=A0=A0=A0=A0=A0=A0=A0 * We need to hard disable interrupts, but we also =\n" - "need to mark them\n" - "> +=A0=A0=A0=A0=A0=A0=A0 * hard disabled in the PACA so that the local_irq_=\n" - "enable() done by\n" - "> +=A0=A0=A0=A0=A0=A0=A0 * our caller upon return propertly hard enables.\n" - "> +=A0=A0=A0=A0=A0=A0=A0 */\n" - "> +=A0=A0=A0=A0=A0=A0=A0hard_irq_disable();\n" - "> +=A0=A0=A0=A0=A0=A0=A0get_paca()->hard_enabled =3D 0;\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240/*\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240 * We need to hard disable interrupts, but we also need to mark them\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240 * hard disabled in the PACA so that the local_irq_enable() done by\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240 * our caller upon return propertly hard enables.\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240 */\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240hard_irq_disable();\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240get_paca()->hard_enabled = 0;\n" "> +\n" "\n" "Yes, this looks good. Paul, please use this patch instead of mine.\n" @@ -31,4 +29,4 @@ "\n" "\tArnd <><" -8382313a44d8aab9c8971add01acbf12b1934fbbb944eab8b633a2596254c1ea +7adaf8a05bc88d07e49f945ba5eec2b218472376b45a6f1315f5b9db0ae06970
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.