Changeset 0f9258f in rtems-libbsd


Ignore:
Timestamp:
Nov 29, 2017, 2:26:17 PM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5cb01f277962d3127d364bf871f799b34e6b6be6, cc60cbeef68291b54f73c2d26fe3da4b837a8e06
Children:
9906c4a
Parents:
a0633c5
git-author:
Sebastian Huber <sebastian.huber@…> (11/29/17 14:26:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/05/18 10:55:01)
Message:

linux/percpu.h: Fix for uni-processor config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/powerpc/include/linux/percpu.h

    ra0633c5 r0f9258f  
    3131#include <linux/threads.h>
    3232
     33#include <rtems/score/smp.h>
    3334#include <rtems/score/threaddispatch.h>
    3435
     
    4445
    4546#define this_cpu_ptr(_designator) \
    46     (&_designator[_CPU_SMP_Get_current_processor()])
     47    (&_designator[_SMP_Get_current_processor()])
    4748
    4849#define get_cpu_var(_designator) \
     
    5758
    5859#define raw_cpu_ptr(_ptr) \
    59     per_cpu_ptr(_ptr, _CPU_SMP_Get_current_processor())
     60    per_cpu_ptr(_ptr, _SMP_Get_current_processor())
    6061
    6162#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.