1 //===-- Definition of a cpu_set_t type ------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_LIBC_TYPES_CPU_SET_T_H 10 #define LLVM_LIBC_TYPES_CPU_SET_T_H 11 12 typedef struct { 13 // If a processor with more than 1024 CPUs is to be supported in future, 14 // we need to adjust the size of this array. 15 unsigned long __mask[128 / sizeof(unsigned long)]; 16 } cpu_set_t; 17 18 #endif // LLVM_LIBC_TYPES_CPU_SET_T_H 19