[PATCH] Remove include/arch-*/init.h

From: Alexey Dobriyan
Date: Fri Jun 25 2004 - 11:42:53 EST


There's no reason to keep files that
a) nobody #include's
b) produce #error

--- a/include/asm-alpha/init.h 2004-06-16 09:19:42.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-h8300/init.h 2004-06-16 09:19:01.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1,11 +0,0 @@
-#ifndef _H8300_INIT_H
-#define _H8300_INIT_H
-
-#define __init __attribute__ ((__section__ (".text.init")))
-#define __initdata __attribute__ ((__section__ (".data.init")))
-/* For assembly routines */
-#define __INIT .section ".text.init",#alloc,#execinstr
-#define __FINIT .previous
-#define __INITDATA .section ".data.init",#alloc,#write
-
-#endif
--- a/include/asm-i386/init.h 2004-06-16 09:19:42.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-m68k/init.h 2004-06-16 09:19:43.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1,11 +0,0 @@
-#ifndef _M68K_INIT_H
-#define _M68K_INIT_H
-
-#define __init __attribute__ ((__section__ (".text.init")))
-#define __initdata __attribute__ ((__section__ (".data.init")))
-/* For assembly routines */
-#define __INIT .section ".text.init",#alloc,#execinstr
-#define __FINIT .previous
-#define __INITDATA .section ".data.init",#alloc,#write
-
-#endif
--- a/include/asm-m68knommu/init.h 2004-06-16 09:19:22.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#include <asm-m68k/init.h>
--- a/include/asm-mips/init.h 2004-06-16 09:18:57.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-ppc64/init.h 2004-06-16 09:18:59.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-s390/init.h 2004-06-16 09:20:20.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1,7 +0,0 @@
-/*
- * include/asm-s390/init.h
- *
- * S390 version
- */
-
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-sh/init.h 2004-06-16 09:19:42.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-sparc/init.h 2004-06-16 09:19:52.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-sparc64/init.h 2004-06-16 09:19:23.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"
--- a/include/asm-um/init.h 2004-06-16 09:19:52.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1,11 +0,0 @@
-#ifndef _UM_INIT_H
-#define _UM_INIT_H
-
-#ifdef notdef
-#define __init
-#define __initdata
-#define __initfunc(__arginit) __arginit
-#define __cacheline_aligned
-#endif
-
-#endif
--- a/include/asm-x86_64/init.h 2004-06-16 09:19:13.000000000 +0400
+++ /dev/null 2003-01-30 13:24:37.000000000 +0300
@@ -1 +0,0 @@
-#error "<asm/init.h> should never be used - use <linux/init.h> instead"

-
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/