Changeset 10c071e in mainline for arch/mips32/include/atomic.h


Ignore:
Timestamp:
2005-12-15T16:57:48Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c68b97
Parents:
b4cad8b2
Message:

Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.

sparc64 work.
TBA must be set before a function call when MMU is switched off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/atomic.h

    rb4cad8b2 r10c071e  
    5151 * @return Value after addition.
    5252 */
    53 static inline atomic_t atomic_add(atomic_t *val, int i)
     53static inline count_t atomic_add(atomic_t *val, int i)
    5454{
    55         atomic_t tmp, v;
     55        count_t tmp, v;
    5656
    5757        __asm__ volatile (
Note: See TracChangeset for help on using the changeset viewer.