Changeset e3f41b6 in mainline for test/synch/rwlock1/test.c


Ignore:
Timestamp:
2005-06-06T20:01:57Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b0bf501
Parents:
d47f0e1
Message:

Code cleanup in scheduler.c thread.c - removed unnecessary spinlock.
atomic_inc, atomic_dec moved to arch/atomic.h instead of arch/smp/atomic.h,
advisable to use even in non-smp mode.
Fixed atomic_inc, atomic_dec in mips architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/synch/rwlock1/test.c

    rd47f0e1 re3f41b6  
    2929#include <test.h>
    3030#include <arch.h>
    31 #include <arch/smp/atomic.h>
     31#include <arch/atomic.h>
    3232#include <print.h>
    3333#include <proc/thread.h>
Note: See TracChangeset for help on using the changeset viewer.