patch-2.3.16 linux/include/asm-sparc/init.h
Next file: linux/include/asm-sparc/irq.h
Previous file: linux/include/asm-sparc/hardirq.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Aug 31 11:23:30 1999
- Orig file:
v2.3.15/linux/include/asm-sparc/init.h
- Orig date:
Wed Mar 10 16:53:37 1999
diff -u --recursive --new-file v2.3.15/linux/include/asm-sparc/init.h linux/include/asm-sparc/init.h
@@ -1,27 +1 @@
-#ifndef _SPARC_INIT_H
-#define _SPARC_INIT_H
-
-#if (defined (__svr4__) || defined (__ELF__))
-#define __init __attribute__ ((__section__ (".text.init")))
-#define __initdata __attribute__ ((__section__ (".data.init")))
-#define __initfunc(__arginit) \
- __arginit __init; \
- __arginit
-#define __cacheline_aligned __attribute__ \
- ((__section__ (".data.cacheline_aligned")))
-/* For assembly routines */
-#define __INIT .section ".text.init",#alloc,#execinstr
-#define __FINIT .previous
-#define __INITDATA .section ".data.init",#alloc,#write
-#else
-#define __init
-#define __initdata
-#define __initfunc(__arginit) __arginit
-#define __cacheline_aligned
-/* For assembly routines */
-#define __INIT
-#define __FINIT
-#define __INITDATA
-#endif
-
-#endif
+#error "<asm/init.h> should never be used - use <linux/init.h> instead"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)