qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu/target-i386 helper2.c
Date: Wed, 14 Jun 2006 13:37:16 +0000	[thread overview]
Message-ID: <E1FqVYa-0000Gh-P7@savannah.gnu.org> (raw)

CVSROOT:	/sources/qemu
Module name:	qemu
Changes by:	Fabrice Bellard <bellard>	06/06/14 13:37:16

Modified files:
	target-i386    : helper2.c 

Log message:
	use glibc syscall (David Woodhouse)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper2.c?cvsroot=qemu&r1=1.41&r2=1.42

Patches:
Index: helper2.c
===================================================================
RCS file: /sources/qemu/qemu/target-i386/helper2.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- helper2.c	25 Apr 2006 21:27:42 -0000	1.41
+++ helper2.c	14 Jun 2006 13:37:16 -0000	1.42
@@ -35,7 +35,10 @@
 #include <linux/unistd.h>
 #include <linux/version.h>
 
-_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount)
+int modify_ldt(int func, void *ptr, unsigned long bytecount)
+{
+	return syscall(__NR_modify_ldt, func, ptr, bytecount);
+}
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 66)
 #define modify_ldt_ldt_s user_desc

             reply	other threads:[~2006-06-14 13:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 13:37 Fabrice Bellard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-24 14:04 [Qemu-devel] qemu/target-i386 helper2.c Andrzej Zaborowski
2007-12-09  2:43 Thiemo Seufer
2007-11-21 16:18 Fabrice Bellard
2007-09-10  0:10 Thiemo Seufer
2007-07-31 23:09 Thiemo Seufer
2007-04-17 23:08 Thiemo Seufer
2006-09-27 19:52 Fabrice Bellard
2006-06-24 15:06 Fabrice Bellard
2006-04-25 21:27 Fabrice Bellard
2005-11-28 21:19 Fabrice Bellard
2005-11-21 23:31 Fabrice Bellard
2005-07-03 21:29 Fabrice Bellard
2005-04-23 17:50 Fabrice Bellard
2005-02-10 22:06 Fabrice Bellard
2005-01-25 22:35 Fabrice Bellard
2003-12-02 21:59 Fabrice Bellard
2003-11-23 23:26 Fabrice Bellard
2003-11-19 22:04 Fabrice Bellard
2003-11-12 23:57 Fabrice Bellard

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=E1FqVYa-0000Gh-P7@savannah.gnu.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).