Changeset e3f41b6 in mainline for src/synch/spinlock.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
  • src/synch/spinlock.c

    rd47f0e1 re3f41b6  
    2929#include <arch.h>
    3030
    31 #ifdef __SMP__
    32 #include <arch/smp/atomic.h>
    33 #endif
    34 
     31#include <arch/atomic.h>
    3532#include <synch/spinlock.h>
    3633
Note: See TracChangeset for help on using the changeset viewer.