Changes in kernel/test/fpu/fpu1_ia64.c [96b02eb9:cb01e1e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/fpu/fpu1_ia64.c
r96b02eb9 rcb01e1e 85 85 86 86 if ((int) (100000000 * e) != E_10e8) { 87 TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, ( sysarg_t) (100000000 * e), (sysarg_t) E_10e8);87 TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8); 88 88 atomic_inc(&threads_fault); 89 89 break; … … 118 118 119 119 if ((int) (1000000 * pi) != PI_10e8) { 120 TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, ( sysarg_t) (1000000 * pi), (sysarg_t) (PI_10e8 / 100));120 TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100)); 121 121 atomic_inc(&threads_fault); 122 122 break; … … 126 126 } 127 127 128 c onst char *test_fpu1(void)128 char *test_fpu1(void) 129 129 { 130 unsigned int i; 131 atomic_count_t total = 0; 130 unsigned int i, total = 0; 132 131 133 132 waitq_initialize(&can_start); … … 160 159 waitq_wakeup(&can_start, WAKEUP_ALL); 161 160 162 while (atomic_get(&threads_ok) != total) { 163 TPRINTF("Threads left: %" PRIua "\n", 164 total - atomic_get(&threads_ok)); 161 while (atomic_get(&threads_ok) != (long) total) { 162 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok)); 165 163 thread_sleep(1); 166 164 }
Note:
See TracChangeset
for help on using the changeset viewer.