summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/compiler.h
diff options
context:
space:
mode:
authorJun Yi <yijun@loongson.cn>2022-07-21 19:10:49 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2022-07-29 18:22:32 +0800
commitf62b7626cb79dfbfe292145b7ebeee4dc63c9499 (patch)
tree22fbfd489c110c2af439723e9a4384812531ee25 /arch/loongarch/include/asm/compiler.h
parentab6e57a69df515cc9231b578de5b820f9ba3d0be (diff)
downloadlinux-f62b7626cb79dfbfe292145b7ebeee4dc63c9499.tar.gz
linux-f62b7626cb79dfbfe292145b7ebeee4dc63c9499.tar.bz2
linux-f62b7626cb79dfbfe292145b7ebeee4dc63c9499.zip
LoongArch: Remove useless header compiler.h
The content of LoongArch's compiler.h is trivial, with some unused anywhere, so inline the definitions and remove the header. Signed-off-by: Jun Yi <yijun@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include/asm/compiler.h')
-rw-r--r--arch/loongarch/include/asm/compiler.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/loongarch/include/asm/compiler.h b/arch/loongarch/include/asm/compiler.h
deleted file mode 100644
index 657cebe70ace..000000000000
--- a/arch/loongarch/include/asm/compiler.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* 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 */