mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 09:10:32 -04:00
- Build fixes after GCC 4.2 import. - Remove SIGRTMIN and SIGRTMAX redefinitions. - Use posix_memalign(3) instead of valloc(3). Approved by: glewis (maintainer)
11 lines
436 B
C++
11 lines
436 B
C++
--- ../../hotspot/src/os_cpu/bsd_amd64/vm/threadLS_bsd_amd64.hpp.orig Thu May 24 15:27:42 2007
|
|
+++ ../../hotspot/src/os_cpu/bsd_amd64/vm/threadLS_bsd_amd64.hpp Thu May 24 16:01:24 2007
|
|
@@ -33,7 +33,7 @@
|
|
|
|
static uintptr_t pd_raw_thread_id() {
|
|
address sp = pd_sp_address();
|
|
- return (unsigned int)sp / _pd_min_page_size;
|
|
+ return (uintptr_t) sp / _pd_min_page_size;
|
|
}
|
|
|
|
static int pd_cache_index(uintptr_t sp_page) {
|