Changeset 0c1a5d8a in mainline


Ignore:
Timestamp:
2007-01-29T18:07:28Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b1349e0
Parents:
c27c988
Message:

avoid conflict with potential keyword

Location:
kernel/generic
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/ipc.h

    rc27c988 r0c1a5d8a  
    178178        answerbox_t *callerbox;
    179179
    180         unative_t private; /**< Private data to internal IPC */
     180        unative_t priv; /**< Private data to internal IPC */
    181181
    182182        ipc_data_t data;  /**< Data passed from/to userspace */
  • kernel/generic/src/ipc/irq.c

    rc27c988 r0c1a5d8a  
    283283                IPC_SET_ARG3(call->data, a3);
    284284                /* Put a counter to the message */
    285                 call->private = ++irq->notif_cfg.counter;
     285                call->priv = ++irq->notif_cfg.counter;
    286286               
    287287                send_call(irq, call);
     
    307307                call->flags |= IPC_CALL_NOTIF;
    308308                /* Put a counter to the message */
    309                 call->private = ++irq->notif_cfg.counter;
     309                call->priv = ++irq->notif_cfg.counter;
    310310                /* Set up args */
    311311                IPC_SET_METHOD(call->data, irq->notif_cfg.method);
  • kernel/generic/src/ipc/sysipc.c

    rc27c988 r0c1a5d8a  
    195195                IPC_SET_ARG3(call->data, (unative_t)&TASK->phones[newphid]);
    196196                call->flags |= IPC_CALL_CONN_ME_TO;
    197                 call->private = newphid;
     197                call->priv = newphid;
    198198                break;
    199199        case IPC_M_AS_AREA_SEND:
     
    224224        if (call->flags & IPC_CALL_CONN_ME_TO) {
    225225                if (IPC_GET_RETVAL(call->data))
    226                         phone_dealloc(call->private);
     226                        phone_dealloc(call->priv);
    227227                else
    228                         IPC_SET_ARG3(call->data, call->private);
     228                        IPC_SET_ARG3(call->data, call->priv);
    229229        }
    230230}
     
    528528
    529529                /* Set in_phone_hash to the interrupt counter */
    530                 call->data.phone = (void *)call->private;
     530                call->data.phone = (void *) call->priv;
    531531               
    532532                STRUCT_TO_USPACE(calldata, &call->data);
Note: See TracChangeset for help on using the changeset viewer.