[PATCH 4/4] sparc: Automatically generate trivial UAPI headers

From: Catalin Marinas
Date: Thu Oct 11 2012 - 12:18:31 EST


This patch removes several trivial UAPI headers that were simply including
the asm-generic files as they can be automatically generated.

Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
---
arch/sparc/include/uapi/asm/Kbuild | 5 +++--
arch/sparc/include/uapi/asm/kvm_para.h | 1 -
arch/sparc/include/uapi/asm/statfs.h | 6 ------
3 files changed, 3 insertions(+), 9 deletions(-)
delete mode 100644 arch/sparc/include/uapi/asm/kvm_para.h
delete mode 100644 arch/sparc/include/uapi/asm/statfs.h

diff --git a/arch/sparc/include/uapi/asm/Kbuild b/arch/sparc/include/uapi/asm/Kbuild
index ce175af..c7a460f 100644
--- a/arch/sparc/include/uapi/asm/Kbuild
+++ b/arch/sparc/include/uapi/asm/Kbuild
@@ -17,7 +17,6 @@ header-y += ioctl.h
header-y += ioctls.h
header-y += ipcbuf.h
header-y += jsflash.h
-header-y += kvm_para.h
header-y += mman.h
header-y += msgbuf.h
header-y += openpromio.h
@@ -39,7 +38,6 @@ header-y += signal.h
header-y += socket.h
header-y += sockios.h
header-y += stat.h
-header-y += statfs.h
header-y += swab.h
header-y += termbits.h
header-y += termios.h
@@ -49,3 +47,6 @@ header-y += uctx.h
header-y += unistd.h
header-y += utrap.h
header-y += watchdog.h
+
+generic-y += kvm_para.h
+generic-y += statfs.h
diff --git a/arch/sparc/include/uapi/asm/kvm_para.h b/arch/sparc/include/uapi/asm/kvm_para.h
deleted file mode 100644
index 14fab8f..0000000
--- a/arch/sparc/include/uapi/asm/kvm_para.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/kvm_para.h>
diff --git a/arch/sparc/include/uapi/asm/statfs.h b/arch/sparc/include/uapi/asm/statfs.h
deleted file mode 100644
index 55e607a..0000000
--- a/arch/sparc/include/uapi/asm/statfs.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef ___ASM_SPARC_STATFS_H
-#define ___ASM_SPARC_STATFS_H
-
-#include <asm-generic/statfs.h>
-
-#endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/