Ignore:
Timestamp:
2018-03-08T18:54:30Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ef16903
Parents:
e0a4686
Message:

Replace ASM macro with the standard ASSEMBLER.

At least, GCC claims it to be a standard predefined macro. I was unable
to find the relevant standard, but it's defined in both gcc and clang.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/arch/trap/trap_table.h

    re0a4686 r53ad43c  
    4343#define TRAP_TABLE_SIZE         (TRAP_TABLE_ENTRY_COUNT * TRAP_TABLE_ENTRY_SIZE)
    4444
    45 #ifndef __ASM__
     45#ifndef __ASSEMBLER__
    4646
    4747#include <stdint.h>
     
    5656extern trap_table_entry_t trap_table_save[TRAP_TABLE_ENTRY_COUNT];
    5757
    58 #endif /* !__ASM__ */
     58#endif /* !__ASSEMBLER__ */
    5959
    60 #ifdef __ASM__
     60#ifdef __ASSEMBLER__
    6161.macro SAVE_GLOBALS
    6262        mov %g1, %l1
     
    8585.endm
    8686
    87 #endif /* __ASM__ */
     87#endif /* __ASSEMBLER__ */
    8888
    8989#endif
Note: See TracChangeset for help on using the changeset viewer.