[2.6 patch] i386_ksyms.c: unexport register_die_notifier

From: Adrian Bunk
Date: Sun Jan 16 2005 - 02:44:13 EST


The only user of register_die_notifier (kernel/kprobes.c) can't be built
modular. Therefore, it's the EXPORT_SYMBOL is superfluous.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-rc1-mm1-full/arch/i386/kernel/i386_ksyms.c.old 2005-01-16 05:37:29.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/arch/i386/kernel/i386_ksyms.c 2005-01-16 05:37:37.000000000 +0100
@@ -170,7 +170,6 @@
extern int memcmp(const void *,const void *,__kernel_size_t);
EXPORT_SYMBOL(memcmp);

-EXPORT_SYMBOL(register_die_notifier);
#ifdef CONFIG_HAVE_DEC_LOCK
EXPORT_SYMBOL(_atomic_dec_and_lock);
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/