Commit 68f44892 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Fix struct size mismatch

IOCTL32 emulation
Fixed the struct size mismatch - should work on SPARC64 now, too.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 80bc8a94
...@@ -220,7 +220,7 @@ struct sndrv_ctl_elem_value32 { ...@@ -220,7 +220,7 @@ struct sndrv_ctl_elem_value32 {
unsigned int indirect; /* bit-field causes misalignment */ unsigned int indirect; /* bit-field causes misalignment */
union { union {
s32 integer[128]; /* integer and boolean need conversion */ s32 integer[128]; /* integer and boolean need conversion */
#ifdef CONFIG_PPC64 #ifndef CONFIG_X86_64
s64 integer64[64]; /* for alignment */ s64 integer64[64]; /* for alignment */
#endif #endif
unsigned char data[512]; /* others should be compatible */ unsigned char data[512]; /* others should be compatible */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment