[klibc] [klibc:master] arm64: remove useless <klibc/asmmacros.h> file

klibc-bot for H. Peter Anvin hpa at zytor.com
Mon Nov 11 19:48:04 PST 2013


Commit-ID:  45647d9f97cac184d399eae9bcbe24aef2223f70
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=45647d9f97cac184d399eae9bcbe24aef2223f70
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 11 Nov 2013 19:33:40 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 11 Nov 2013 19:33:40 -0800

[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 at debian.org>
Cc: Anil Singhar <anil.singhar at linaro.org>
Cc: Steve Capper <steve.capper at linaro.org>
Signed-off-by: H. Peter Anvin <hpa at zytor.com>

---
 usr/include/arch/arm64/klibc/asmmacros.h | 11 -----------
 usr/klibc/arch/arm64/setjmp.S            |  2 --
 usr/klibc/arch/arm64/sysstub.ph          |  1 -
 usr/klibc/arch/arm64/vfork.S             |  1 -
 4 files changed, 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 c298f66..0000000
--- 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 13ab99d..284e328 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 47cbfd9..095b1e8 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 494326c..c30b2a0 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


More information about the klibc mailing list