android: st/mesa: fix building error due to sched_getcpu()
Android has cpufeatures library but pinning of threads is not supported
PIPE_OS_LINUX code path causes build error due to sched_getcpu() unavailable
thus we need to avoid setting HAVE_SCHED_GETCPU for Android
Fixes: 48f2160
("st/mesa: regularly re-pin driver threads to the CCX where the app thread is")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
4f74580d30
commit
37a2072e97
|
@ -67,7 +67,7 @@
|
|||
#include "draw/draw_context.h"
|
||||
#include "cso_cache/cso_context.h"
|
||||
|
||||
#ifdef PIPE_OS_LINUX
|
||||
#if defined(PIPE_OS_LINUX) && !defined(ANDROID)
|
||||
#include <sched.h>
|
||||
#define HAVE_SCHED_GETCPU 1
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue