Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101367 Details for
Bug 154294
sys-fs/reiserfsprogs-3.6.20 fails to build on big endian arch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
reiserfsprogs-3.6.20-swab-non-portable.patch
reiserfsprogs-3.6.20-swab-non-portable.patch (text/plain), 2.44 KB, created by
SpanKY
on 2006-11-06 17:10:07 UTC
(
hide
)
Description:
reiserfsprogs-3.6.20-swab-non-portable.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2006-11-06 17:10:07 UTC
Size:
2.44 KB
patch
obsolete
>--- include/misc/swab.h >+++ include/misc/swab.h >@@ -7,36 +7,30 @@ > #define MISC_SWAB_H > > #define __swab16(x) \ >-({ \ >- __u16 __x = (x); \ >- ((__u16)( \ >- (((__u16)(__x) & (__u16)0x00ffU) << 8) | \ >- (((__u16)(__x) & (__u16)0xff00U) >> 8) )); \ >-}) >+( ((__u16)( \ >+ (((__u16)(x) & (__u16)0x00ffU) << 8) | \ >+ (((__u16)(x) & (__u16)0xff00U) >> 8) )) \ >+) > > #define __swab32(x) \ >-({ \ >- __u32 __x = (x); \ >- ((__u32)( \ >- (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | \ >- (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | \ >- (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | \ >- (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); \ >-}) >+( ((__u32)( \ >+ (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \ >+ (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \ >+ (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \ >+ (((__u32)(x) & (__u32)0xff000000UL) >> 24) )) \ >+) > > #define __swab64(x) \ >-({ \ >- __u64 __x = (x); \ >- ((__u64)( \ >- (__u64)(((__u64)(__x) & (__u64)0x00000000000000ffULL) << 56) | \ >- (__u64)(((__u64)(__x) & (__u64)0x000000000000ff00ULL) << 40) | \ >- (__u64)(((__u64)(__x) & (__u64)0x0000000000ff0000ULL) << 24) | \ >- (__u64)(((__u64)(__x) & (__u64)0x00000000ff000000ULL) << 8) | \ >- (__u64)(((__u64)(__x) & (__u64)0x000000ff00000000ULL) >> 8) | \ >- (__u64)(((__u64)(__x) & (__u64)0x0000ff0000000000ULL) >> 24) | \ >- (__u64)(((__u64)(__x) & (__u64)0x00ff000000000000ULL) >> 40) | \ >- (__u64)(((__u64)(__x) & (__u64)0xff00000000000000ULL) >> 56) )); \ >-}) >+( ((__u64)( \ >+ (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \ >+ (__u64)(((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \ >+ (__u64)(((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \ >+ (__u64)(((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \ >+ (__u64)(((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \ >+ (__u64)(((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \ >+ (__u64)(((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \ >+ (__u64)(((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56) )) \ >+) > > > #ifndef WORDS_BIGENDIAN
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 154294
: 101367