Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 466462 Details for
Bug 603472
>=app-emulation/virtualbox-guest-additions-5.1.12 fails to build with kernel 4.9.0 - error: uninitialized const member in 'union atomic_read(const atomic_t*)::<anonymous>'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bitops typ fixes
0001-x86-Match-bitops-prototypes.patch (text/plain), 4.31 KB, created by
Joakim Tjernlund
on 2017-03-09 19:00:05 UTC
(
hide
)
Description:
bitops typ fixes
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2017-03-09 19:00:05 UTC
Size:
4.31 KB
patch
obsolete
>From 18c2d4659a33ac047b31a0e33c524811a2a8f642 Mon Sep 17 00:00:00 2001 >From: Joakim Tjernlund <joakim.tjernlund@infinera.com> >Date: Thu, 9 Mar 2017 14:19:41 +0100 >Subject: [PATCH 1/4] x86: Match bitops prototypes > >Adjust bitops function prototype in arch/x86/include/asm/le.h >to match the generic ones in asm-generic/bitops/le.h >That is, replace void* with unsigned long* >--- > include/asm-generic/bitops/le.h | 42 ++++++++++++++++++++++------------------- > 1 file changed, 23 insertions(+), 19 deletions(-) > >diff --git a/include/asm-generic/bitops/le.h b/include/asm-generic/bitops/le.h >index 6173154..92a3afa 100644 >--- a/include/asm-generic/bitops/le.h >+++ b/include/asm-generic/bitops/le.h >@@ -8,20 +8,22 @@ > > #define BITOP_LE_SWIZZLE 0 > >-static inline unsigned long find_next_zero_bit_le(const void *addr, >- unsigned long size, unsigned long offset) >+static inline unsigned long find_next_zero_bit_le(const unsigned long *addr, >+ unsigned long size, >+ unsigned long offset) > { > return find_next_zero_bit(addr, size, offset); > } > >-static inline unsigned long find_next_bit_le(const void *addr, >- unsigned long size, unsigned long offset) >+static inline unsigned long find_next_bit_le(const unsigned long *addr, >+ unsigned long size, >+ unsigned long offset) > { > return find_next_bit(addr, size, offset); > } > >-static inline unsigned long find_first_zero_bit_le(const void *addr, >- unsigned long size) >+static inline unsigned long find_first_zero_bit_le(const unsigned long *addr, >+ unsigned long size) > { > return find_first_zero_bit(addr, size); > } >@@ -31,13 +33,15 @@ static inline unsigned long find_first_zero_bit_le(const void *addr, > #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) > > #ifndef find_next_zero_bit_le >-extern unsigned long find_next_zero_bit_le(const void *addr, >- unsigned long size, unsigned long offset); >+extern unsigned long find_next_zero_bit_le(const unsigned long *addr, >+ unsigned long size, >+ unsigned long offset); > #endif > > #ifndef find_next_bit_le >-extern unsigned long find_next_bit_le(const void *addr, >- unsigned long size, unsigned long offset); >+extern unsigned long find_next_bit_le(const unsigned long *addr, >+ unsigned long size, >+ unsigned long offset); > #endif > > #ifndef find_first_zero_bit_le >@@ -49,47 +53,47 @@ extern unsigned long find_next_bit_le(const void *addr, > #error "Please fix <asm/byteorder.h>" > #endif > >-static inline int test_bit_le(int nr, const void *addr) >+static inline int test_bit_le(int nr, const unsigned long *addr) > { > return test_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline void set_bit_le(int nr, void *addr) >+static inline void set_bit_le(int nr, unsigned long *addr) > { > set_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline void clear_bit_le(int nr, void *addr) >+static inline void clear_bit_le(int nr, unsigned long *addr) > { > clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline void __set_bit_le(int nr, void *addr) >+static inline void __set_bit_le(int nr, unsigned long *addr) > { > __set_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline void __clear_bit_le(int nr, void *addr) >+static inline void __clear_bit_le(int nr, unsigned long *addr) > { > __clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline int test_and_set_bit_le(int nr, void *addr) >+static inline int test_and_set_bit_le(int nr, unsigned long *addr) > { > return test_and_set_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline int test_and_clear_bit_le(int nr, void *addr) >+static inline int test_and_clear_bit_le(int nr, unsigned long *addr) > { > return test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline int __test_and_set_bit_le(int nr, void *addr) >+static inline int __test_and_set_bit_le(int nr, unsigned long *addr) > { > return __test_and_set_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } > >-static inline int __test_and_clear_bit_le(int nr, void *addr) >+static inline int __test_and_clear_bit_le(int nr, unsigned long *addr) > { > return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); > } >-- >2.10.2 >
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 603472
:
457128
|
462468
|
464534
|
464536
| 466462 |
466464
|
466466