Changeset aa85487 in mainline for kernel/test/fpu


Ignore:
Timestamp:
2010-03-07T15:11:56Z (16 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aadf01e
Parents:
2e99277 (diff), 137691a (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:

Merge mainline changes, revision 308

Location:
kernel/test/fpu
Files:
7 edited

Legend:

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

    r2e99277 raa85487  
    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        while (atomic_get(&threads_ok) != total) {
    162163                TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
    163164                thread_sleep(1);
  • kernel/test/fpu/fpu1_skip.c

    r2e99277 raa85487  
    2929#include <test.h>
    3030
    31 char *test_fpu1(void)
     31const char *test_fpu1(void)
    3232{
    3333        return NULL;
  • kernel/test/fpu/fpu1_x86.c

    r2e99277 raa85487  
    123123}
    124124
    125 char *test_fpu1(void)
     125const char *test_fpu1(void)
    126126{
    127         unsigned int i, total = 0;
     127        unsigned int i;
     128        atomic_count_t total = 0;
    128129       
    129130        waitq_initialize(&can_start);
     
    156157        waitq_wakeup(&can_start, WAKEUP_ALL);
    157158       
    158         while (atomic_get(&threads_ok) != (long) total) {
     159        while (atomic_get(&threads_ok) != total) {
    159160                TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
    160161                thread_sleep(1);
  • kernel/test/fpu/mips2.c

    r2e99277 raa85487  
    109109
    110110
    111 char *test_mips2(void)
     111const char *test_mips2(void)
    112112{
    113         unsigned int i, total = 0;
     113        unsigned int i;
     114        atomic_count_t total = 0;
    114115       
    115116        waitq_initialize(&can_start);
     
    138139       
    139140        TPRINTF("ok\n");
    140                
     141       
    141142        thread_sleep(1);
    142143        waitq_wakeup(&can_start, WAKEUP_ALL);
    143144       
    144         while (atomic_get(&threads_ok) != (long) total) {
     145        while (atomic_get(&threads_ok) != total) {
    145146                TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
    146147                thread_sleep(1);
  • kernel/test/fpu/mips2_skip.c

    r2e99277 raa85487  
    2929#include <test.h>
    3030
    31 char *test_mips2(void)
     31const char *test_mips2(void)
    3232{
    3333        return NULL;
  • kernel/test/fpu/sse1.c

    r2e99277 raa85487  
    107107}
    108108
    109 char *test_sse1(void)
     109const char *test_sse1(void)
    110110{
    111         unsigned int i, total = 0;
     111        unsigned int i;
     112        atomic_count_t total = 0;
    112113       
    113114        waitq_initialize(&can_start);
     
    140141        waitq_wakeup(&can_start, WAKEUP_ALL);
    141142       
    142         while (atomic_get(&threads_ok) != (long) total) {
     143        while (atomic_get(&threads_ok) != total) {
    143144                TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
    144145                thread_sleep(1);
  • kernel/test/fpu/sse1_skip.c

    r2e99277 raa85487  
    2929#include <test.h>
    3030
    31 char *test_sse1(void)
     31const char *test_sse1(void)
    3232{
    3333        return NULL;
Note: See TracChangeset for help on using the changeset viewer.