summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-31 09:22:27 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-31 09:22:27 +0000
commitd656469f44aa541b1e2ca4019fef101b60557aac (patch)
treed58e5d8571d1a1fd93faf25d89f97887752eec2d /osdep.h
parentRearrange slavio_misc code to prepare for different addresses (diff)
downloadqemu-kvm-d656469f44aa541b1e2ca4019fef101b60557aac.tar.gz
qemu-kvm-d656469f44aa541b1e2ca4019fef101b60557aac.tar.bz2
qemu-kvm-d656469f44aa541b1e2ca4019fef101b60557aac.zip
use simpler REGPARM convention - make CPUTLBEntry size a power of two
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3935 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep.h b/osdep.h
index bc513ad3d..0666e78b3 100644
--- a/osdep.h
+++ b/osdep.h
@@ -36,9 +36,9 @@
#define inline always_inline
#ifdef __i386__
-#define REGPARM(n) __attribute((regparm(n)))
+#define REGPARM __attribute((regparm(3)))
#else
-#define REGPARM(n)
+#define REGPARM
#endif
#define qemu_printf printf