From: Tim Rowley Date: Thu, 4 Aug 2016 19:06:49 +0000 (-0600) Subject: swr: [rasterizer core] remove cygwin threads.cpp stubs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a83beb936e6fb2caccea45d39f6d06da12575a6e;p=mesa.git swr: [rasterizer core] remove cygwin threads.cpp stubs Signed-off-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/rasterizer/core/threads.cpp b/src/gallium/drivers/swr/rasterizer/core/threads.cpp index 143a77fb4dc..434c8cb96ee 100644 --- a/src/gallium/drivers/swr/rasterizer/core/threads.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/threads.cpp @@ -221,16 +221,6 @@ void CalculateProcessorTopology(CPUNumaNodes& out_nodes, uint32_t& out_numThread } } -#elif defined(__CYGWIN__) - - // Dummy data just to compile - NumaNode node; - Core core; - core.threadIds.push_back(0); - node.cores.push_back(core); - out_nodes.push_back(node); - out_numThreadsPerProcGroup = 1; - #else #error Unsupported platform @@ -277,10 +267,6 @@ void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId = SetThreadGroupAffinity(GetCurrentThread(), &affinity, nullptr); -#elif defined(__CYGWIN__) - - // do nothing - #else cpu_set_t cpuset;