Skip to content

Commit

Permalink
[PATCH] uml: fix ((unused)) attribute
Browse files Browse the repository at this point in the history
Use __attribute_used__ instead of __attribute__ ((unused)).  This will help
with GCC > 3.2.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Feb 24, 2006
1 parent 07f4e2c commit 635dd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/include/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ extern struct uml_param __uml_setup_start, __uml_setup_end;

#define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn

#define __init_call __attribute__ ((unused,__section__ (".initcall.init")))
#define __init_call __attribute_used__ __attribute__ ((__section__ (".initcall.init")))

#endif

Expand Down

0 comments on commit 635dd50

Please sign in to comment.