source: rtems/cpukit/rtems/src/getprocessorcount.c @ ef6f8a83

5
Last change on this file since ef6f8a83 was 4bc8d2e, checked in by Sebastian Huber <sebastian.huber@…>, on 04/10/14 at 08:58:27

rtems: Rename rtems_smp_get_processor_count()

Rename rtems_smp_get_processor_count() in rtems_get_processor_count().
Make rtems_get_processor_count() a function in uni-processor
configurations to enable ABI compatibility with SMP configurations.

  • Property mode set to 100644
File size: 530 bytes
Line 
1/*
2 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#if HAVE_CONFIG_H
16  #include "config.h"
17#endif
18
19#include <rtems/rtems/smp.h>
20#include <rtems/score/smp.h>
21
22uint32_t rtems_get_processor_count(void)
23{
24  return _SMP_Get_processor_count();
25}
Note: See TracBrowser for help on using the repository browser.