mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org,
	Rusty Russell <rusty@rustcorp.com.au>
Subject: [PATCH] Module headers cleanup
Date: Thu, 12 Feb 2004 21:46:49 -0500	[thread overview]
Message-ID: <402C3A99.4080308@quark.didntduck.org> (raw)

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

                 reply	other threads:[~2004-02-13  2:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=402C3A99.4080308@quark.didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®