Blame nptl/smp.h

Packit Service 82fcde
/* Determine whether the host has multiple processors.  Stub version.
Packit Service 82fcde
   Copyright (C) 1996-2018 Free Software Foundation, Inc.
Packit Service 82fcde
   This file is part of the GNU C Library.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 82fcde
   modify it under the terms of the GNU Library General Public License as
Packit Service 82fcde
   published by the Free Software Foundation; either version 2 of the
Packit Service 82fcde
   License, or (at your option) any later version.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 82fcde
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 82fcde
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 82fcde
   Library General Public License for more details.
Packit Service 82fcde
Packit Service 82fcde
   You should have received a copy of the GNU Library General Public
Packit Service 82fcde
   License along with the GNU C Library; see the file COPYING.LIB.  If
Packit Service 82fcde
   not, see <http://www.gnu.org/licenses/>.  */
Packit Service 82fcde
Packit Service 82fcde
/* Test whether the machine has more than one processor.  This is not the
Packit Service 82fcde
   best test but good enough.  More complicated tests would require `malloc'
Packit Service 82fcde
   which is not available at that time.  */
Packit Service 82fcde
static inline int
Packit Service 82fcde
is_smp_system (void)
Packit Service 82fcde
{
Packit Service 82fcde
  /* Assume all machines are SMP and/or CMT and/or SMT.  */
Packit Service 82fcde
  return 1;
Packit Service 82fcde
}