Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wenbowang
grub
grub-0.97-xfs-buildfix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grub-0.97-xfs-buildfix.patch of Package grub
diff --git a/stage2/fsys_xfs.c b/stage2/fsys_xfs.c index 1c01c3b..eee7576 100644 --- a/stage2/fsys_xfs.c +++ b/stage2/fsys_xfs.c @@ -100,10 +100,14 @@ ino2offset (xfs_ino_t ino) static inline xfs_uint16_t __attribute__((__const__)) le16 (xfs_uint16_t x) { +#if 1 + return ((x & 0xff00) >> 8) | ((x & 0xff) << 8); +#else __asm__("xchgb %b0,%h0" \ : "=q" (x) \ : "0" (x)); \ return x; +#endif } static inline xfs_uint32_t __attribute__((__const__))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor