From: Julian Seward Date: Thu, 5 Mar 2015 11:22:41 +0000 (+0000) Subject: POST(sys_ioctl): identify kernel variant "Qualcomm Adreno 3xx" correctly. X-Git-Tag: svn/VALGRIND_3_11_0~614 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ef97db66064992a294e5f12712281632f3a0bba;p=thirdparty%2Fvalgrind.git POST(sys_ioctl): identify kernel variant "Qualcomm Adreno 3xx" correctly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14978 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index ecea23047b..e87320a3a7 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -8345,7 +8345,7 @@ POST(sys_ioctl) /* END undocumented ioctls for PowerVR SGX 540 (the GPU on Nexus S) */ /* BEGIN undocumented ioctls for Qualcomm Adreno 3xx */ - if (KernelVariantiS(KernelVariant_android_gpu_sgx5xx, + if (KernelVariantiS(KernelVariant_android_gpu_adreno3xx, VG_(clo_kernel_variant))) { if (ARG2 == 0xC00C0902) { POST_MEM_WRITE(ARG3, 24); // 16 is not enough