aboutsummaryrefslogtreecommitdiffstats
path: root/tools/arch/arm64/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/arch/arm64/include/uapi/asm/unistd.h (renamed from arch/riscv/include/asm/compat.h)15
1 files changed, 3 insertions, 12 deletions
diff --git a/arch/riscv/include/asm/compat.h b/tools/arch/arm64/include/uapi/asm/unistd.h
index 044aecff8854..5072cbd15c82 100644
--- a/arch/riscv/include/asm/compat.h
+++ b/tools/arch/arm64/include/uapi/asm/unistd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* Copyright (C) 2012 ARM Ltd.
*
@@ -13,17 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ASM_COMPAT_H
-#define __ASM_COMPAT_H
-#ifdef CONFIG_COMPAT
-#if defined(CONFIG_64BIT)
-#define COMPAT_UTS_MACHINE "riscv64\0\0"
-#elif defined(CONFIG_32BIT)
-#define COMPAT_UTS_MACHINE "riscv32\0\0"
-#else
-#error "Unknown RISC-V base ISA"
-#endif
+#define __ARCH_WANT_RENAMEAT
-#endif /*CONFIG_COMPAT*/
-#endif /*__ASM_COMPAT_H*/
+#include <asm-generic/unistd.h>