[PATCH 3/4] Re: EXPORT_SYMBOL_NOVERS (was: Re: 2.6.9-rc1-mm3)

From: Geert Uytterhoeven
Date: Mon Sep 06 2004 - 14:24:10 EST



Remove deprecated EXPORT_SYMBOL_NOVERS() support from UML.

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

--- linux-2.6.9-rc1/arch/um/kernel/user_syms.c 2004-04-27 20:36:40.000000000 +0200
+++ linux-2.6.9-rc1-export-symbol/arch/um/kernel/user_syms.c 2004-09-06 20:47:15.000000000 +0200
@@ -31,13 +31,11 @@

#define __EXPORT_SYMBOL(sym,str) error config_must_be_included_before_module
#define EXPORT_SYMBOL(var) error config_must_be_included_before_module
-#define EXPORT_SYMBOL_NOVERS(var) error config_must_be_included_before_module

#elif !defined(UML_CONFIG_MODULES)

#define __EXPORT_SYMBOL(sym,str)
#define EXPORT_SYMBOL(var)
-#define EXPORT_SYMBOL_NOVERS(var)

#else

@@ -54,8 +52,6 @@
#define EXPORT_SYMBOL(var) __EXPORT_SYMBOL(var, __MODULE_STRING(__VERSIONED_SYMBOL(var)))
#endif

-#define EXPORT_SYMBOL_NOVERS(var) __EXPORT_SYMBOL(var, __MODULE_STRING(var))
-
#endif

EXPORT_SYMBOL(__errno_location);

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/