mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 02:10:35 +01:00
Disable check of double-aligned in test/input.c on Renesas SH
Renesas SH is not aligned at size of double.
When structure has double value, It is aligned in 4byte (long).
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit b29ce0726d)
This commit is contained in:
parent
79ac611d31
commit
2e28ff155f
1 changed files with 1 additions and 1 deletions
|
|
@ -1223,7 +1223,7 @@ static void dix_valuator_alloc(void)
|
|||
|
||||
assert(v);
|
||||
assert(v->numAxes == num_axes);
|
||||
#ifndef __i386__
|
||||
#if !defined(__i386__) && !defined(__sh__)
|
||||
/* must be double-aligned on 64 bit */
|
||||
assert(((void*)v->axisVal - (void*)v) % sizeof(double) == 0);
|
||||
assert(((void*)v->axes - (void*)v) % sizeof(double) == 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue