Changeset 8c6b45f in mainline


Ignore:
Timestamp:
2006-05-23T21:33:27Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fba9b8b
Parents:
53ca318
Message:

Fix gcc mips bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/async.c

    r53ca318 r8c6b45f  
    229229        unsigned long key;
    230230        msg_t *msg;
     231        connection_t *conn;
    231232
    232233        /* Setup thread local connection pointer */
    233234        PS_connection = (connection_t *)arg;
    234         PS_connection->cthread(PS_connection->callid, &PS_connection->call);
     235        conn = PS_connection;
     236        conn->cthread(conn->callid, &conn->call);
    235237
    236238        /* Remove myself from connection hash table */
    237239        futex_down(&conn_futex);
    238         key = PS_connection->in_phone_hash;
     240        key = conn->in_phone_hash;
    239241        hash_table_remove(&conn_hash_table, &key, 1);
    240242        futex_up(&conn_futex);
    241243        /* Answer all remaining messages with ehangup */
    242         while (!list_empty(&PS_connection->msg_queue)) {
    243                 msg = list_get_instance(PS_connection->msg_queue.next, msg_t, link);
     244        while (!list_empty(&conn->msg_queue)) {
     245                msg = list_get_instance(conn->msg_queue.next, msg_t, link);
    244246                list_remove(&msg->link);
    245247                ipc_answer_fast(msg->callid, EHANGUP, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.