mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-26 02:03:19 -04:00
Add some other common headers for basic LoongArch support. Reviewed-by: WANG Xuerui <git@xen0n.name> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
15 lines
419 B
C
15 lines
419 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef _ASM_COMPILER_H
|
|
#define _ASM_COMPILER_H
|
|
|
|
#define GCC_OFF_SMALL_ASM() "ZC"
|
|
|
|
#define LOONGARCH_ISA_LEVEL "loongarch"
|
|
#define LOONGARCH_ISA_ARCH_LEVEL "arch=loongarch"
|
|
#define LOONGARCH_ISA_LEVEL_RAW loongarch
|
|
#define LOONGARCH_ISA_ARCH_LEVEL_RAW LOONGARCH_ISA_LEVEL_RAW
|
|
|
|
#endif /* _ASM_COMPILER_H */
|