Changeset ea28272 in mainline for kernel/test/fpu/mips2.c
- Timestamp:
- 2010-12-30T13:43:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d770deb
- Parents:
- d70d80ed (diff), f418e51 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/fpu/mips2.c
rd70d80ed rea28272 48 48 { 49 49 int i; 50 int arg __attribute__((aligned(16))) = (int) (( unative_t) data);50 int arg __attribute__((aligned(16))) = (int) ((sysarg_t) data); 51 51 int after_arg __attribute__((aligned(16))); 52 52 … … 80 80 { 81 81 int i; 82 int arg __attribute__((aligned(16))) = (int) (( unative_t) data);82 int arg __attribute__((aligned(16))) = (int) ((sysarg_t) data); 83 83 int after_arg __attribute__((aligned(16))); 84 84 … … 123 123 thread_t *t; 124 124 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))) { 126 126 TPRINTF("could not create thread %u\n", 2 * i); 127 127 break; … … 130 130 total++; 131 131 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))) { 133 133 TPRINTF("could not create thread %u\n", 2 * i + 1); 134 134 break;
Note:
See TracChangeset
for help on using the changeset viewer.