diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-21 14:26:22 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-21 14:26:22 -0400 |
commit | 816a3cbda0cfdb3781da19e8d532c2f78ca49e18 (patch) | |
tree | 3945cc3c0a2819e880601ecb9aae3bfef8fe33c9 /drivers/usb/class/cdc-acm.c | |
parent | 95a10f2e4716eedd9bfbc559f824598c5346102d (diff) |
Change API: spinlock_t -> raw_spinlock_t
Adapt to new schema for spinlock:
(tglx 20091217)
spinlock - the weakest one, which might sleep in RT
raw_spinlock - spinlock which always spins even on RT
arch_spinlock - the hardware level architecture dependent implementation
----
Planning for future porting on PreemptRT, probably all of the
spinlock changed in this patch should true spinning lock (raw_spinlock).
There are a couple of spinlock that the kernel still defines as
spinlock_t (therefore no changes reported in this commit) that might cause
problems to us:
- wait_queue_t lock is defined as spinlock_t; it is used in:
* fmlp.c -- sem->wait.lock
* sync.c -- ts_release.wait.lock
- rwlock_t used in fifo implementation in sched_trace.c
* this need probably to be changed to something always spinning in RT
at the expense of increased locking time.
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions