aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/mach
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-05-11 16:18:55 -0700
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-30 13:15:06 +0100
commitb91d8a1205faa76affc4e1b7d5ccac1d17026970 (patch)
treef504b0c2f35404addd8ece4a4f8120677f06ab13 /include/asm-arm/mach
parent3abc12012f957d1c5b9f35b244256f88ad146564 (diff)
[ARM] use __used attribute
Use the newly introduced __used attribute in place of the deprecated __attribute_used__. Functionally the same. Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/mach')
-rw-r--r--include/asm-arm/mach/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/mach/arch.h b/include/asm-arm/mach/arch.h
index fd2f9bf4dcc..c59fad18e73 100644
--- a/include/asm-arm/mach/arch.h
+++ b/include/asm-arm/mach/arch.h
@@ -49,7 +49,7 @@ struct machine_desc {
*/
#define MACHINE_START(_type,_name) \
static const struct machine_desc __mach_desc_##_type \
- __attribute_used__ \
+ __used \
__attribute__((__section__(".arch.info.init"))) = { \
.nr = MACH_TYPE_##_type, \
.name = _name,