diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-19 14:50:17 +1000 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-11 10:05:43 -0700 |
commit | 75f75d12cf69ba9b7f14ddf04338ad2df7315550 (patch) | |
tree | be12b059bc4b696ae290537dc8ccab34f26103c0 | |
parent | 2647867c7c8e12fac29b4bd9805efb40d6d87c70 (diff) |
test: don't test for double alignment on i386. (#36986)
i386 is one of the few architectures that doesn't need double alignment.
X.Org Bug 36986 <http://bugs.freedesktop.org/show_bug.cgi?id=36986>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 8ef0974874f322e3ce2f3e6be4ab3c7e73a7b380)
Conflicts:
test/input.c
-rw-r--r-- | test/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/input.c b/test/input.c index 4d840b9b4..4c80fcc91 100644 --- a/test/input.c +++ b/test/input.c @@ -1213,8 +1213,11 @@ static void dix_valuator_alloc(void) g_assert(v); g_assert(v->numAxes == num_axes); +#ifndef __i386__ + /* must be double-aligned on 64 bit */ g_assert(((void*)v->axisVal - (void*)v) % sizeof(double) == 0); g_assert(((void*)v->axes - (void*)v) % sizeof(double) == 0); +#endif num_axes ++; } |