summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/setup.h
diff options
context:
space:
mode:
authorDavid Rientjes2007-05-12 01:18:55 +0200
committerRussell King2007-05-30 14:15:06 +0200
commitb91d8a1205faa76affc4e1b7d5ccac1d17026970 (patch)
treef504b0c2f35404addd8ece4a4f8120677f06ab13 /include/asm-arm/setup.h
parent[ARM] enable arbitary speed tty ioctls and split input/output speed (diff)
downloadkernel-qcow2-linux-b91d8a1205faa76affc4e1b7d5ccac1d17026970.tar.gz
kernel-qcow2-linux-b91d8a1205faa76affc4e1b7d5ccac1d17026970.tar.xz
kernel-qcow2-linux-b91d8a1205faa76affc4e1b7d5ccac1d17026970.zip
[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/setup.h')
-rw-r--r--include/asm-arm/setup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/setup.h b/include/asm-arm/setup.h
index e5407392afca..7bbf105463f1 100644
--- a/include/asm-arm/setup.h
+++ b/include/asm-arm/setup.h
@@ -185,7 +185,7 @@ struct tagtable {
#ifdef __KERNEL__
-#define __tag __attribute_used__ __attribute__((__section__(".taglist.init")))
+#define __tag __used __attribute__((__section__(".taglist.init")))
#define __tagtable(tag, fn) \
static struct tagtable __tagtable_##fn __tag = { tag, fn }
@@ -218,7 +218,7 @@ struct early_params {
};
#define __early_param(name,fn) \
-static struct early_params __early_##fn __attribute_used__ \
+static struct early_params __early_##fn __used \
__attribute__((__section__(".early_param.init"))) = { name, fn }
#endif /* __KERNEL__ */