Upgrade xz from 5.0.7 to 5.2.2 on the vendor branch
[dragonfly.git] / contrib / xz / src / liblzma / common / hardware_cputhreads.c
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       hardware_cputhreads.c
4 /// \brief      Get the number of CPU threads or cores
5 //
6 //  Author:     Lasse Collin
7 //
8 //  This file has been put into the public domain.
9 //  You can do whatever you want with this file.
10 //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #include "common.h"
14
15 #include "tuklib_cpucores.h"
16
17
18 extern LZMA_API(uint32_t)
19 lzma_cputhreads(void)
20 {
21         return tuklib_cpucores();
22 }