Changeset 27f67f5 in mainline for kernel/arch/ia64/src/context.S


Ignore:
Timestamp:
2016-04-22T20:43:34Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a52e2f4
Parents:
054476d
Message:

ia64: use asmtool.h macros for defining symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/context.S

    r054476d r27f67f5  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <arch/context_struct.h>
    3031
    3132.text
    3233
    33 .global context_save_arch
    34 .global context_restore_arch
    35 
    36 context_save_arch:
     34FUNCTION_BEGIN(context_save_arch)
    3735        alloc loc0 = ar.pfs, 1, 49, 0, 0
    3836        mov loc1 = ar.unat ;;
     
    182180        add r8 = r0, r0, 1      /* context_save returns 1 */
    183181        br.ret.sptk.many b0
    184 
    185 context_restore_arch:
     182FUNCTION_END(context_save_arch)
     183
     184FUNCTION_BEGIN(context_restore_arch)
    186185        alloc loc0 = ar.pfs, 1, 50, 0, 0        ;;
    187186
     
    338337        mov r8 = r0                     /* context_restore returns 0 */
    339338        br.ret.sptk.many b0
    340 
     339FUNCTION_END(context_restore_arch)
     340
Note: See TracChangeset for help on using the changeset viewer.