Changeset ff48a15 in mainline for kernel/generic/include/ipc/ipc.h


Ignore:
Timestamp:
2008-05-28T20:47:45Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
33c058d3
Parents:
10ef329a
Message:

Turn phone→lock into mutex.

File:
1 edited

Legend:

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

    r10ef329a rff48a15  
    206206#define IPC_MAX_PHONES  16
    207207
     208#include <synch/spinlock.h>
     209#include <synch/mutex.h>
    208210#include <synch/waitq.h>
    209211
     
    226228/** Structure identifying phone (in TASK structure) */
    227229typedef struct {
    228         SPINLOCK_DECLARE(lock);
     230        mutex_t lock;
    229231        link_t link;
    230232        struct answerbox *callee;
Note: See TracChangeset for help on using the changeset viewer.