summaryrefslogtreecommitdiff
path: root/include/asm-alpha/byteorder.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-03 18:41:01 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-03 18:41:01 -0800
commite086c19275ab84257dc3df71fb071d9be0e6b2ec (patch)
tree426c1e3ab01ee511554e9da2f56bd894a488b10f /include/asm-alpha/byteorder.h
parent7b6b5e720c60de0e9e71da04aafb4865bb966a07 (diff)
[PATCH] use __attribute_const__ everywhere
From: Nikita Danilov <Nikita@Namesys.COM> Replace all existing usages of __attribute__((const)) with __attribute_const__.
Diffstat (limited to 'include/asm-alpha/byteorder.h')
-rw-r--r--include/asm-alpha/byteorder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-alpha/byteorder.h b/include/asm-alpha/byteorder.h
index ddf4e740e72a..e5179c55920c 100644
--- a/include/asm-alpha/byteorder.h
+++ b/include/asm-alpha/byteorder.h
@@ -6,7 +6,7 @@
#ifdef __GNUC__
-static __inline __u32 __attribute__((__const)) __arch__swab32(__u32 x)
+static __inline __u32 __attribute_const__ __arch__swab32(__u32 x)
{
/*
* Unfortunately, we can't use the 6 instruction sequence