diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-03 13:45:50 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-04 08:43:45 +0100 |
commit | 8b73ee50238d5f22db792bf8cc573a001f52065f (patch) | |
tree | c2522f35266d86ca51c74daae66bab4f09c7bae0 /cpukit/libfs/src/imfs/imfs_creat.c | |
parent | fdeaa64e1786e7f18814d8c7eae219332d672c27 (diff) |
rtems: rtems_scheduler_get_processor_maximum()
In uniprocessor configurations, use compile-time constants for
rtems_scheduler_get_processor_maximum() and
rtems_scheduler_get_processor(). This helps compilers and static
analyzers to deduce that some loop bodies are only executed once and
some conditional statements have a fixed outcome (may improve code
generation and reduce false positives).
In SMP configurations, directly provide the internal implementation for
performance reasons.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_creat.c')
0 files changed, 0 insertions, 0 deletions