Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified kernel/test/fpu/fpu1_ia64.c

    rcb01e1e r96b02eb9  
    8585               
    8686                if ((int) (100000000 * e) != E_10e8) {
    87                         TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
     87                        TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (sysarg_t) (100000000 * e), (sysarg_t) E_10e8);
    8888                        atomic_inc(&threads_fault);
    8989                        break;
     
    118118               
    119119                if ((int) (1000000 * pi) != PI_10e8) {
    120                         TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100));
     120                        TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (sysarg_t) (1000000 * pi), (sysarg_t) (PI_10e8 / 100));
    121121                        atomic_inc(&threads_fault);
    122122                        break;
     
    126126}
    127127
    128 char *test_fpu1(void)
     128const char *test_fpu1(void)
    129129{
    130         unsigned int i, total = 0;
     130        unsigned int i;
     131        atomic_count_t total = 0;
    131132       
    132133        waitq_initialize(&can_start);
     
    159160        waitq_wakeup(&can_start, WAKEUP_ALL);
    160161       
    161         while (atomic_get(&threads_ok) != (long) total) {
    162                 TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
     162        while (atomic_get(&threads_ok) != total) {
     163                TPRINTF("Threads left: %" PRIua "\n",
     164                    total - atomic_get(&threads_ok));
    163165                thread_sleep(1);
    164166        }
Note: See TracChangeset for help on using the changeset viewer.