public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frederik Deweerdt <deweerdt@free.fr>
To: Ulrich Drepper <drepper@redhat.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	mingo@elte.hu, tglx@linutronix.de, torvalds@linux-foundation.org
Subject: Re: [PATCHv2 2/4] x86&x86-64 support for sys_indirect
Date: Thu, 15 Nov 2007 20:29:47 +0100	[thread overview]
Message-ID: <20071115192947.GF1299@slug> (raw)
In-Reply-To: <200711151822.lAFIMVvW028590@devserv.devel.redhat.com>

Hello Ulrich,
On Thu, Nov 15, 2007 at 01:22:31PM -0500, Ulrich Drepper wrote:
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index ee800e7..e4e8a22 100644
> --- /dev/null	2007-09-23 16:36:38.465394704 -0700
> +++ b/include/asm-x86/indirect_32.h	2007-11-15 09:52:47.000000000 -0800
[...]
> +#define INDIRECT_SYSCALL(regs) (regs)->eax 
                                        ^^^^^
> +
> +#define CALL_INDIRECT(regs) \
> +  ({ extern long (*sys_call_table[]) (__u32, __u32, __u32, __u32, __u32, __u32); \
> +     sys_call_table[INDIRECT_SYSCALL(regs)->eax] ((regs)->ebx, (regs)->ecx, \
                                             ^^^^^-> I take it that ->eax is wrong here? 
> +						  (regs)->edx, (regs)->esi, \
> +						  (regs)->edi, (regs)->ebp); \
> +     })
> +
> +#endif

Regards,
Frederik

  reply	other threads:[~2007-11-15 19:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 18:22 [PATCHv2 2/4] x86&x86-64 support for sys_indirect Ulrich Drepper
2007-11-15 19:29 ` Frederik Deweerdt [this message]
2007-11-15 20:08   ` Ulrich Drepper
2007-11-15 20:12     ` Ingo Molnar
2007-11-15 20:16       ` Ulrich Drepper
2007-11-16  2:47 ` Eric Dumazet
2007-11-16  3:15   ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071115192947.GF1299@slug \
    --to=deweerdt@free.fr \
    --cc=akpm@linux-foundation.org \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox