diff for duplicates of <20210302234024.73bf0c14@sf> diff --git a/a/1.txt b/N1/1.txt index e27c067..67d494b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,9 +10,9 @@ Sergei Trofimovich <slyfox@gentoo.org> wrote: > > The difference is in stack layout: > -> 1. `eps` creates simple stack frame: no locals, in{0..7} = out{0..8} +> 1. `eps` creates simple stack frame: no locals, in{0..7} == out{0..8} > 2. `break` uses userspace stack frame: may be locals (glibc provides -> one), in{0..7} = out{0..8}. +> one), in{0..7} == out{0..8}. > > Both work fine in syscall handling cde itself. > @@ -75,7 +75,8 @@ Sergei Trofimovich <slyfox@gentoo.org> wrote: > for (i = 0; i < count; i++) { > + int j = ndirty + nlocals + i + args->i; > if (args->rw) -> - *ia64_rse_skip_regs(krbs, ndirty + i + args->i) > - args->args[i]; +> - *ia64_rse_skip_regs(krbs, ndirty + i + args->i) = +> - args->args[i]; > + *ia64_rse_skip_regs(krbs, j) = args->args[i]; > else > - args->args[i] = *ia64_rse_skip_regs(krbs, diff --git a/a/content_digest b/N1/content_digest index 753ac37..9d3c8e7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020210221002554.333076-1-slyfox@gentoo.org\0" "From\0Sergei Trofimovich <slyich@gmail.com>\0" "Subject\0Re: [PATCH] ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls\0" - "Date\0Tue, 02 Mar 2021 23:40:31 +0000\0" + "Date\0Tue, 2 Mar 2021 23:40:31 +0000\0" "To\0Andrew Morton <akpm@linux-foundation.org>\0" "Cc\0linux-kernel@vger.kernel.org" Oleg Nesterov <oleg@redhat.com> @@ -21,9 +21,9 @@ "> \n" "> The difference is in stack layout:\n" "> \n" - "> 1. `eps` creates simple stack frame: no locals, in{0..7} = out{0..8}\n" + "> 1. `eps` creates simple stack frame: no locals, in{0..7} == out{0..8}\n" "> 2. `break` uses userspace stack frame: may be locals (glibc provides\n" - "> one), in{0..7} = out{0..8}.\n" + "> one), in{0..7} == out{0..8}.\n" "> \n" "> Both work fine in syscall handling cde itself.\n" "> \n" @@ -86,7 +86,8 @@ "> \tfor (i = 0; i < count; i++) {\n" "> +\t\tint j = ndirty + nlocals + i + args->i;\n" "> \t\tif (args->rw)\n" - "> -\t\t\t*ia64_rse_skip_regs(krbs, ndirty + i + args->i) > -\t\t\t\targs->args[i];\n" + "> -\t\t\t*ia64_rse_skip_regs(krbs, ndirty + i + args->i) =\n" + "> -\t\t\t\targs->args[i];\n" "> +\t\t\t*ia64_rse_skip_regs(krbs, j) = args->args[i];\n" "> \t\telse\n" "> -\t\t\targs->args[i] = *ia64_rse_skip_regs(krbs,\n" @@ -106,4 +107,4 @@ "\n" Sergei -771c17ea1b5357a04087b15a24cb1a10a6ef48f7fc641e243862dc1a76152f1b +4659a991349387844d5213ddf8f95f44590a43b2ec7af1eb289d2d956ecc17f1
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.