equal
deleted
inserted
replaced
196 |
196 |
197 #ifndef SYS_gettid |
197 #ifndef SYS_gettid |
198 // i386: 224, ia64: 1105, amd64: 186, sparc 143 |
198 // i386: 224, ia64: 1105, amd64: 186, sparc 143 |
199 #ifdef __ia64__ |
199 #ifdef __ia64__ |
200 #define SYS_gettid 1105 |
200 #define SYS_gettid 1105 |
201 #elif __i386__ |
|
202 #define SYS_gettid 224 |
|
203 #elif __amd64__ |
|
204 #define SYS_gettid 186 |
|
205 #elif __sparc__ |
|
206 #define SYS_gettid 143 |
|
207 #else |
201 #else |
208 #error define gettid for the arch |
202 #ifdef __i386__ |
|
203 #define SYS_gettid 224 |
|
204 #else |
|
205 #ifdef __amd64__ |
|
206 #define SYS_gettid 186 |
|
207 #else |
|
208 #ifdef __sparc__ |
|
209 #define SYS_gettid 143 |
|
210 #else |
|
211 #error define gettid for the arch |
|
212 #endif |
|
213 #endif |
|
214 #endif |
209 #endif |
215 #endif |
210 #endif |
216 #endif |
211 |
217 |
212 // Cpu architecture string |
218 // Cpu architecture string |
213 static char cpu_arch[] = HOTSPOT_LIB_ARCH; |
219 static char cpu_arch[] = HOTSPOT_LIB_ARCH; |