Replaces the deprecated __attribute_used__ with __used. Signed-off-by: David Rientjes Signed-off-by: Jeff Dike -- arch/um/include/init.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Index: linux-2.6.17/arch/um/include/init.h =================================================================== --- linux-2.6.17.orig/arch/um/include/init.h 2007-09-09 16:08:07.000000000 +0100 +++ linux-2.6.17/arch/um/include/init.h 2007-09-09 16:08:45.000000000 +0100 @@ -69,12 +69,12 @@ typedef void (*exitcall_t)(void); #define __init __attribute__ ((__section__ (".init.text"))) #define __initdata __attribute__ ((__section__ (".init.data"))) #define __exitdata __attribute__ ((__section__(".exit.data"))) -#define __exit_call __attribute_used__ __attribute__ ((__section__ (".exitcall.exit"))) +#define __exit_call __used __attribute__ ((__section__ (".exitcall.exit"))) #ifdef MODULE #define __exit __attribute__ ((__section__(".exit.text"))) #else -#define __exit __attribute_used__ __attribute__ ((__section__(".exit.text"))) +#define __exit __used __attribute__ ((__section__(".exit.text"))) #endif #endif @@ -127,10 +127,10 @@ extern struct uml_param __uml_setup_star * Mark functions and data as being only used at initialization * or exit time. */ -#define __uml_init_setup __attribute_used__ __attribute__ ((__section__ (".uml.setup.init"))) -#define __uml_setup_help __attribute_used__ __attribute__ ((__section__ (".uml.help.init"))) -#define __uml_init_call __attribute_used__ __attribute__ ((__section__ (".uml.initcall.init"))) -#define __uml_postsetup_call __attribute_used__ __attribute__ ((__section__ (".uml.postsetup.init"))) -#define __uml_exit_call __attribute_used__ __attribute__ ((__section__ (".uml.exitcall.exit"))) +#define __uml_init_setup __used __attribute__ ((__section__ (".uml.setup.init"))) +#define __uml_setup_help __used __attribute__ ((__section__ (".uml.help.init"))) +#define __uml_init_call __used __attribute__ ((__section__ (".uml.initcall.init"))) +#define __uml_postsetup_call __used __attribute__ ((__section__ (".uml.postsetup.init"))) +#define __uml_exit_call __used __attribute__ ((__section__ (".uml.exitcall.exit"))) #endif /* _UM_INIT_H */