aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-11-11 19:33:40 -0800
committerH. Peter Anvin <hpa@zytor.com>2013-11-11 19:33:40 -0800
commit45647d9f97cac184d399eae9bcbe24aef2223f70 (patch)
tree16724706e18f1ce3af7764031cc4425c05519ceb
parente4a2c914446ba907c5aaccf6ae1d089a09d21df7 (diff)
downloadklibc-45647d9f97cac184d399eae9bcbe24aef2223f70.tar.gz
[klibc] arm64: remove useless <klibc/asmmacros.h> file
<klibc/asmmacros.h> is a file specific to arm32; the file is empty on arm64 so we can just drop it. Cc: Neil Williams <codehelp@debian.org> Cc: Anil Singhar <anil.singhar@linaro.org> Cc: Steve Capper <steve.capper@linaro.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/include/arch/arm64/klibc/asmmacros.h11
-rw-r--r--usr/klibc/arch/arm64/setjmp.S2
-rw-r--r--usr/klibc/arch/arm64/sysstub.ph1
-rw-r--r--usr/klibc/arch/arm64/vfork.S1
4 files changed, 0 insertions, 15 deletions
diff --git a/usr/include/arch/arm64/klibc/asmmacros.h b/usr/include/arch/arm64/klibc/asmmacros.h
deleted file mode 100644
index c298f6601e603..0000000000000
--- a/usr/include/arch/arm64/klibc/asmmacros.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * usr/include/arch/arm64/klibc/asmmacros.h
- *
- * Assembly macros used by arm64 system call stubs
- */
-
-#ifndef _KLIBC_ASMMACROS_H
-#define _KLIBC_ASMMACROS_H
-
-
-#endif /* _KLIBC_ASMMACROS_H */
diff --git a/usr/klibc/arch/arm64/setjmp.S b/usr/klibc/arch/arm64/setjmp.S
index 13ab99d4f0337..284e328352217 100644
--- a/usr/klibc/arch/arm64/setjmp.S
+++ b/usr/klibc/arch/arm64/setjmp.S
@@ -4,8 +4,6 @@
# setjmp/longjmp for arm64
#
-#include <klibc/asmmacros.h>
-
# we specify -mgeneral-regs-only as a build flag thus do not need to
# save d8-d15
diff --git a/usr/klibc/arch/arm64/sysstub.ph b/usr/klibc/arch/arm64/sysstub.ph
index 47cbfd900bb16..095b1e83a872f 100644
--- a/usr/klibc/arch/arm64/sysstub.ph
+++ b/usr/klibc/arch/arm64/sysstub.ph
@@ -10,7 +10,6 @@ sub make_sysstub($$$$$@) {
open(OUT, '>', "${outputdir}/${fname}.S");
print OUT "#include <asm/unistd.h>\n";
- print OUT "#include <klibc/asmmacros.h>\n";
print OUT " .text\n";
print OUT " .type ${fname}, #function\n";
print OUT " .globl ${fname}\n";
diff --git a/usr/klibc/arch/arm64/vfork.S b/usr/klibc/arch/arm64/vfork.S
index 494326c3274c4..c30b2a06996e0 100644
--- a/usr/klibc/arch/arm64/vfork.S
+++ b/usr/klibc/arch/arm64/vfork.S
@@ -4,7 +4,6 @@
* vfork - a system call which must not use the stack.
*/
-#include <klibc/asmmacros.h>
#include <asm/unistd.h>
.type vfork,#function