Changeset 82122f3 in mainline for kernel/test/fpu/mips2.c


Ignore:
Timestamp:
2010-12-17T14:51:41Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f383dde
Parents:
692f13e4 (diff), 11658b64 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged development into lelian/hidd

File:
1 edited

Legend:

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

    r692f13e4 r82122f3  
    4848{
    4949        int i;
    50         int arg __attribute__((aligned(16))) = (int) ((unative_t) data);
     50        int arg __attribute__((aligned(16))) = (int) ((sysarg_t) data);
    5151        int after_arg __attribute__((aligned(16)));
    5252       
     
    8080{
    8181        int i;
    82         int arg __attribute__((aligned(16))) = (int) ((unative_t) data);
     82        int arg __attribute__((aligned(16))) = (int) ((sysarg_t) data);
    8383        int after_arg __attribute__((aligned(16)));
    8484       
     
    123123                thread_t *t;
    124124               
    125                 if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1", false))) {
     125                if (!(t = thread_create(testit1, (void *) ((sysarg_t) 2 * i), TASK, 0, "testit1", false))) {
    126126                        TPRINTF("could not create thread %u\n", 2 * i);
    127127                        break;
     
    130130                total++;
    131131               
    132                 if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2", false))) {
     132                if (!(t = thread_create(testit2, (void *) ((sysarg_t) 2 * i + 1), TASK, 0, "testit2", false))) {
    133133                        TPRINTF("could not create thread %u\n", 2 * i + 1);
    134134                        break;
Note: See TracChangeset for help on using the changeset viewer.