Changeset 201abde in mainline for kernel/test/fpu/fpu1.c


Ignore:
Timestamp:
2007-04-07T20:06:52Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e58979
Parents:
6adbe3c2
Message:

make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/fpu/fpu1.c

    r6adbe3c2 r201abde  
    127127                if ((int) (100000000 * e) != E_10e8) {
    128128                        if (!sh_quiet)
    129                                 printf("tid%d: e*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
     129                                printf("tid%llu: e*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
    130130                        atomic_inc(&threads_fault);
    131131                        break;
     
    162162                if ((int) (1000000 * pi) != PI_10e8) {
    163163                        if (!sh_quiet)
    164                                 printf("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100));
     164                                printf("tid%llu: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100));
    165165                        atomic_inc(&threads_fault);
    166166                        break;
     
    169169                if ((int) (100000000 * pi) != PI_10e8) {
    170170                        if (!sh_quiet)
    171                                 printf("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * pi), (unative_t) PI_10e8);
     171                                printf("tid%llu: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000 * pi), (unative_t) PI_10e8);
    172172                        atomic_inc(&threads_fault);
    173173                        break;
Note: See TracChangeset for help on using the changeset viewer.