blob: 79f694aeda60fdbcb624e7745549b7fa1248724b [file] [log] [blame]
//===-- Definition of a cpu_set_t type ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef __LLVM_LIBC_TYPES_CPU_SET_T_H
#define __LLVM_LIBC_TYPES_CPU_SET_T_H
typedef struct {
// If a processor with more than 1024 CPUs is to be supported in future,
// we need to adjust the size of this array.
unsigned long __mask[128 / sizeof(unsigned long)];
} cpu_set_t;
#endif // __LLVM_LIBC_TYPES_CPU_SET_T_H