This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
gfs2-utils: master - libgfs2: Remove ancient,obsolete alpha workaround
- From: Steven Whitehouse <swhiteho at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Mon, 26 Jan 2009 11:19:39 +0000 (UTC)
- Subject: gfs2-utils: master - libgfs2: Remove ancient,obsolete alpha workaround
Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=7edcef661bc9d4722390e379137a1ec973074869
Commit: 7edcef661bc9d4722390e379137a1ec973074869
Parent: eebf0f075e7a10fccb1ea934f02de1916e20a074
Author: Steven Whitehouse <swhiteho@redhat.com>
AuthorDate: Mon Jan 26 10:19:16 2009 +0000
Committer: Steven Whitehouse <swhiteho@redhat.com>
CommitterDate: Mon Jan 26 10:19:16 2009 +0000
libgfs2: Remove ancient, obsolete alpha workaround
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
---
gfs2/libgfs2/libgfs2.h | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/gfs2/libgfs2/libgfs2.h b/gfs2/libgfs2/libgfs2.h
index 17b859e..9fb1d2c 100644
--- a/gfs2/libgfs2/libgfs2.h
+++ b/gfs2/libgfs2/libgfs2.h
@@ -30,23 +30,6 @@ __BEGIN_DECLS
#define FALSE (0)
#endif
-/* I'm not sure which versions of alpha glibc/gcc are broken,
- so fix all of them. */
-#ifdef __alpha__
-#undef bswap_64
-static __inline__ unsigned long bswap_64(unsigned long x)
-{
- unsigned int h = x >> 32;
- unsigned int l = x;
-
- h = bswap_32(h);
- l = bswap_32(l);
-
- return ((unsigned long)l << 32) | h;
-}
-#endif /* __alpha__ */
-
-
#if __BYTE_ORDER == __BIG_ENDIAN
#define be16_to_cpu(x) (x)