Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/arch.h

    r26a9388 rf35749e  
    4949 *
    5050 */
    51 #if __has_builtin(__builtin_stack_address)
    52 
    53 #define CURRENT \
    54         ((current_t *) (((uintptr_t) __builtin_stack_address()) & \
    55             (~((uintptr_t) STACK_SIZE - 1))))
    56 
    57 #else
    58 
    5951#define CURRENT \
    6052        ((current_t *) (((uintptr_t) __builtin_frame_address(0)) & \
    6153            (~((uintptr_t) STACK_SIZE - 1))))
    62 
    63 #endif
    6454
    6555#define MAGIC  UINT32_C(0xfacefeed)
Note: See TracChangeset for help on using the changeset viewer.