Changeset 53ad43c in mainline for kernel/arch/amd64/include/arch/pm.h


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

    re0a4686 r53ad43c  
    3636#define KERN_amd64_PM_H_
    3737
    38 #ifndef __ASM__
     38#ifndef __ASSEMBLER__
    3939        #include <typedefs.h>
    4040        #include <arch/context.h>
     
    8888#define IO_PORTS  (64 * 1024)
    8989
    90 #ifndef __ASM__
     90#ifndef __ASSEMBLER__
    9191
    9292typedef struct {
     
    180180extern void tss_initialize(tss_t *t);
    181181
    182 #endif /* __ASM__ */
     182#endif /* __ASSEMBLER__ */
    183183
    184184#endif
Note: See TracChangeset for help on using the changeset viewer.