[PATCH] Remove symbol_is()
From: Brian Gerst (bgerst_at_quark.didntduck.org)
Date: 07/31/04
- Previous message: Shane Shrybman: "Re: [patch] voluntary-preempt-2.6.8-rc2-L2 PS2 keyboard gone south"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 23:58:23 -0400 To: Andrew Morton <akpm@osdl.org>
Remove the unused symbol_is() macro.
-- Brian Gerst
diff -urN linux-2.6.8-rc2-bk/kernel/module.c linux/kernel/module.c
--- linux-2.6.8-rc2-bk/kernel/module.c 2004-07-18 12:27:55.000000000 -0400
+++ linux/kernel/module.c 2004-07-30 23:45:30.601452512 -0400
@@ -51,9 +51,6 @@
/* If this is set, the section belongs in the init part of the module */
#define INIT_OFFSET_MASK (1UL << (BITS_PER_LONG-1))
-#define symbol_is(literal, string) \
- (strcmp(MODULE_SYMBOL_PREFIX literal, (string)) == 0)
-
/* Protects module list */
static spinlock_t modlist_lock = SPIN_LOCK_UNLOCKED;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Shane Shrybman: "Re: [patch] voluntary-preempt-2.6.8-rc2-L2 PS2 keyboard gone south"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [RFC] rwsem removal from kobj_map
... static int __init genhd_device_init ... static void cdev_default_release
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH][1/4] kexec based dump: Loading kernel from non-default offset
... xorl %ebx,%ebx ... /* freed after init ends here */ ... send the
line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH] kmap: remove usage of rwsem from kobj_map.
... static int __init genhd_device_init ... static void cdev_default_release
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: bonnie++ uninterruptible under heavy I/O load
... > I'm testing a pair of new servers we just bought. ... > Max SG entries
since init: ... > Of course on request I can provide any other useful info. ...
send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [PATCH 0/6] i386 virtualization patches, Set 3
... Brian Gerst wrote: ... > any cpu, not just a 386. ... the LDT
corner cases - you would basically need to write a lot of hand ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)