mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Module headers cleanup
@ 2004-02-13  2:46 Brian Gerst
  0 siblings, 0 replies; only message in thread
From: Brian Gerst @ 2004-02-13  2:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andrew Morton, linux-kernel, Rusty Russell

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

Cleans up some leftovers from the old module loader:
- Remove unused defines from modules.h
- Remove unused file modsetver.h

--
				Brian Gerst

[-- Attachment #2: modules-1 --]
[-- Type: text/plain, Size: 2162 bytes --]

diff -urN linux-2.6.2-bk/include/asm-arm26/module.h linux/include/asm-arm26/module.h
--- linux-2.6.2-bk/include/asm-arm26/module.h	2003-12-17 21:58:57.000000000 -0500
+++ linux/include/asm-arm26/module.h	2004-02-09 15:20:45.000000000 -0500
@@ -4,9 +4,4 @@
  * This file contains the arm architecture specific module code.
  */
 
-#define module_map(x)		vmalloc(x)
-#define module_unmap(x)		vfree(x)
-#define module_arch_init(x)	(0)
-#define arch_init_modules(x)	do { } while (0)
-
 #endif /* _ASM_ARM_MODULE_H */
diff -urN linux-2.6.2-bk/include/asm-h8300/module.h linux/include/asm-h8300/module.h
--- linux-2.6.2-bk/include/asm-h8300/module.h	2003-12-17 21:58:16.000000000 -0500
+++ linux/include/asm-h8300/module.h	2004-02-09 15:20:50.000000000 -0500
@@ -4,9 +4,4 @@
  * This file contains the H8/300 architecture specific module code.
  */
 
-#define module_map(x)		vmalloc(x)
-#define module_unmap(x)		vfree(x)
-#define module_arch_init(x)	(0)
-#define arch_init_modules(x)	do { } while (0)
-
 #endif /* _ASM_H8/300_MODULE_H */
diff -urN linux-2.6.2-bk/include/asm-parisc/module.h linux/include/asm-parisc/module.h
--- linux-2.6.2-bk/include/asm-parisc/module.h	2003-12-17 21:58:16.000000000 -0500
+++ linux/include/asm-parisc/module.h	2004-02-09 15:20:54.000000000 -0500
@@ -17,11 +17,6 @@
 #define Elf_Rela Elf32_Rela
 #endif
 
-#define module_map(x)		vmalloc(x)
-#define module_unmap(x)		vfree(x)
-#define module_arch_init(x)	(0)
-#define arch_init_modules(x)	do { } while (0)
-
 struct mod_arch_specific
 {
 	unsigned long got_offset, got_count, got_max;
diff -urN linux-2.6.2-bk/include/linux/modsetver.h linux/include/linux/modsetver.h
--- linux-2.6.2-bk/include/linux/modsetver.h	2003-12-17 21:58:49.000000000 -0500
+++ linux/include/linux/modsetver.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,10 +0,0 @@
-/* Symbol versioning nastiness.  */
-
-#define __SYMBOL_VERSION(x)       __ver_ ## x
-#define __VERSIONED_SYMBOL2(x,v)  x ## _R ## v
-#define __VERSIONED_SYMBOL1(x,v)  __VERSIONED_SYMBOL2(x,v)
-#define __VERSIONED_SYMBOL(x)     __VERSIONED_SYMBOL1(x,__SYMBOL_VERSION(x))
-
-#ifndef _set_ver
-#define _set_ver(x)		  __VERSIONED_SYMBOL(x)
-#endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-13  2:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13  2:46 [PATCH] Module headers cleanup Brian Gerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®