Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 904127 Details for
Bug 168736
Keywording request for dev-java/jamvm-1.5.4-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
PPC64 locking primitive fix
ppc64-lock.patch (text/plain), 772 bytes, created by
A. Wilcox (awilfox)
on 2024-09-29 03:47:23 UTC
(
hide
)
Description:
PPC64 locking primitive fix
Filename:
MIME Type:
Creator:
A. Wilcox (awilfox)
Created:
2024-09-29 03:47:23 UTC
Size:
772 bytes
patch
obsolete
>Fix locking on PPC64 > >The compiler definition is capitalised on Linux. Also, use a type with >the proper width and signedness. > >--- jamvm-1.5.1/src/arch/powerpc.h.old 2007-09-16 21:32:27.000000000 -0500 >+++ jamvm-1.5.1/src/arch/powerpc.h 2024-09-13 11:26:29.805601005 -0500 >@@ -31,10 +31,10 @@ > /* Needed for i386 -- empty here */ > #define FPU_HACK > >-#ifdef __ppc64__ >+#ifdef __PPC64__ > #define COMPARE_AND_SWAP(addr, old_val, new_val) \ > ({ \ >- int result, read_val; \ >+ uintptr_t result, read_val; \ > __asm__ __volatile__ (" \ > li %0,0\n \ > 1: ldarx %1,0,%2\n \
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 168736
: 904127