aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm26/setup.h
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-05-11 19:18:55 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-30 08:15:06 -0400
commitb91d8a1205faa76affc4e1b7d5ccac1d17026970 (patch)
treef504b0c2f35404addd8ece4a4f8120677f06ab13 /include/asm-arm26/setup.h
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-arm26/setup.h')
-rw-r--r--include/asm-arm26/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm26/setup.h b/include/asm-arm26/setup.h
index 10fd07c76662..e82562306475 100644
--- a/include/asm-arm26/setup.h
+++ b/include/asm-arm26/setup.h
@@ -173,7 +173,7 @@ struct tagtable {
173 int (*parse)(const struct tag *); 173 int (*parse)(const struct tag *);
174}; 174};
175 175
176#define __tag __attribute_used__ __attribute__((__section__(".taglist"))) 176#define __tag __used __attribute__((__section__(".taglist")))
177#define __tagtable(tag, fn) \ 177#define __tagtable(tag, fn) \
178static struct tagtable __tagtable_##fn __tag = { tag, fn } 178static struct tagtable __tagtable_##fn __tag = { tag, fn }
179 179