Ignore:
Timestamp:
2018-03-08T18:54:30Z (8 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/arch.h

    re0a4686 r53ad43c  
    3838#define KERN_sparc64_ARCH_H_
    3939
    40 #ifndef __ASM__
     40#ifndef __ASSEMBLER__
    4141#include <arch.h>
    4242#endif
     
    5555#define NWINDOWS  8  /** Number of register window sets. */
    5656
    57 #ifndef __ASM__
     57#ifndef __ASSEMBLER__
    5858
    5959extern arch_ops_t *sparc64_ops;
     
    6161extern void sparc64_pre_main(bootinfo_t *);
    6262
    63 #endif /* __ASM__ */
     63#endif /* __ASSEMBLER__ */
    6464
    6565#endif
Note: See TracChangeset for help on using the changeset viewer.