Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 70805 Details for
Bug 109501
32ul: emerge -e system from stage2 -> 3 fails bcoz of error in spinlock.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the problem for now
ppc64_spinlock.h.diff (text/plain), 925 bytes, created by
Arnvid L. Karstad
on 2005-10-16 13:36:11 UTC
(
hide
)
Description:
Fixes the problem for now
Filename:
MIME Type:
Creator:
Arnvid L. Karstad
Created:
2005-10-16 13:36:11 UTC
Size:
925 bytes
patch
obsolete
>--- spinlock.h.org 2005-10-16 17:30:51.000000000 +0000 >+++ spinlock.h 2005-10-16 15:25:27.000000000 +0000 >@@ -34,6 +34,15 @@ > > #define __lockfunc fastcall __attribute__((section(".spinlock.text"))) > >+#if (__GNUC__ > 2) >+ typedef struct { } rwlock_t; >+ #define RW_LOCK_UNLOCKED (rwlock_t) { } >+#else >+ typedef struct { int gcc_is_buggy; } rwlock_t; >+ #define RW_LOCK_UNLOCKED (rwlock_t) { 0 } >+#endif >+ >+ > /* > * If CONFIG_SMP is set, pull in the _raw_* definitions > */ >@@ -219,14 +228,6 @@ > > /* RW spinlocks: No debug version */ > >-#if (__GNUC__ > 2) >- typedef struct { } rwlock_t; >- #define RW_LOCK_UNLOCKED (rwlock_t) { } >-#else >- typedef struct { int gcc_is_buggy; } rwlock_t; >- #define RW_LOCK_UNLOCKED (rwlock_t) { 0 } >-#endif >- > #define rwlock_init(lock) do { (void)(lock); } while(0) > #define _raw_read_lock(lock) do { (void)(lock); } while(0) > #define _raw_read_unlock(lock) do { (void)(lock); } while(0)
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 109501
: 70805