patch-2.3.42 linux/include/asm-m68k/init.h
Next file: linux/include/asm-m68k/kgdb.h
Previous file: linux/include/asm-m68k/entry.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Mon Jan 31 23:43:51 2000
- Orig file:
v2.3.41/linux/include/asm-m68k/init.h
- Orig date:
Tue Sep 7 12:14:07 1999
diff -u --recursive --new-file v2.3.41/linux/include/asm-m68k/init.h linux/include/asm-m68k/init.h
@@ -1,29 +1,11 @@
#ifndef _M68K_INIT_H
#define _M68K_INIT_H
-#include <linux/config.h>
-
-#ifndef CONFIG_KGDB
-
#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
-
-#else
-
-/* gdb doesn't like it all if the code for one source file isn't together in
- * the executable, so we must avoid the .init sections :-( */
-
-#define __init
-#define __initdata
-/* For assembly routines */
-#define __INIT
-#define __FINIT
-#define __INITDATA
-
-#endif /* CONFIG_KGDB */
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)